Dear lazy web…

Does anyone know what’s happened to vim’s “comment” feature in Debian Lenny? It seems this feature is enabled (i.e. –version shows +comment) and the default string set, but it just doesn’t work. Does any one have any ideas?

Update: many thanks to Lubomir; the answer was that the ‘r’ and ‘o’ options where missing from formatoptions.

One thought on “Dear lazy web…”

  1. Although I’m not definitely sure if I know what your problem is, but check ‘formatoptions’ help. Something like :set formatoptions+=ro might help.

Comments are closed.