> Ranousse, Sat 2011-08-20 @ 15:14:18+0200:
> > (I would prefer not modifying commentstring as it can be used
> > somewhere else giving a strange result then)
>
> 'commentstring' isn't used for any purpose other than creating fold
> markers. From `:help 'commentstring'`:
>
> Currently only used to add markers for folding, see |fold-marker|.
>
> So you shouldn't have any problems with unintended effects if you set it
> to include whitespace before the '#'.
Ok thank you. I missed that part of the help.
In fact I was also wrong because I saw that NERD_comment plugin can use
comment string, but there's no problem with the plugin too since it
seems that it exctracts the comment caracter from commentstring by
removings spaces and tabulations.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment