lutobler / vis-commentary

Vis plugin for easy block commenting
MIT License
16 stars 5 forks source link

How to comment at the start of the lines? #15

Closed jiffygist closed 1 year ago

jiffygist commented 1 year ago

Hi. I would prefer comments to be inserted at the beginning of the commented lines (at 0 insted of ^). How do I accomplish that?

jiffygist commented 1 year ago

Nevermind, I figured it out

-                              "%1" .. pesc(prefix) .. " %2" .. pesc(suffix))
+                              pesc(prefix) .. "%1" ..  " %2" .. pesc(suffix))