On Thu, Jan 10, 2013 at 10:29 AM, Christian Brabandt <[email protected]>wrote:
> On Thu, January 10, 2013 15:56, Marco wrote: > > On 2013–01–10 Christian Brabandt wrote: > > > >> The commentstring option is only used for folding. > > > > Tim Popes commentary plugin uses the commentstring as well. > > Yeah, it is probably used in a couple of more plugins. I use > it myself in the NrrwRgn plugin. What I meant was in the core > functionality of Vim, it is only used for folding (as stated > by the help). > > regards, > Christian > (sent from Gmail web interface: apologies if it is not plain text) The default ftplugin for TeX (all flavors) sets 'comments' to 'sO:% -,mO:% ,exO:%%,:%'. This is good if you like this sort of comment block: % - % This is a comment % block % in TeX %% If you do not use such blocks, and you just want to use '%%" as your comment marker, then :set comments=:%% should do it. See also :help 'comments' :help format-comments :help fo-table -- HTH Benji Fisher -- 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
