Sublime Forum

Hard word wrap retaining comment prefix?

#1

Hi all,

When writing a comment I really want the line to wrap and the new line start with the comment prefix.

For example, in Clojure if I start entering the following:

;; this is a really long line which eventually will reach the word wrap limit so this should be on a new line

assuming “this” is wrapped onto the next line I expect sublime text to do the following:
;; this is a really long line which eventually will reach the word wrap limit so
;; this should be on a new line

but it doesn’t, it does this:

;; this is a really long line which eventually will reach the word wrap limit so
this should be on a new line

(i.e. this isn’t commented).

I want hard wrapping as well.

Any chance? This is one of the last things keeping me from switching from emacs :smile:.

0 Likes