Other reasonable comments for ESS

When I use C-M-\(with emacs and ESS) to format my R code, it correctly justifies my comments. For example, it changes:

#This is a comment
x=5

to

                       #This is a comment
x=5

How to stop my comments justified?

+3
source share
1 answer

One solution is to use ##. By convention, this is not moving.

+6
source

Source: https://habr.com/ru/post/1762740/


All Articles