On Wed, April 18, 2012 10:16, Erik Christiansen wrote:
> On 17.04.12 23:29, Matteo Landi wrote:
>> What about something like this?
>>
>> set foldmethod=marker
>> set foldmarker=#region,#endregion
>
> Wishing to have zf insert {{{ & }}}, without the default comment
> delimiters, I tried:
>
> :set foldmarker={{{,}}}
>
> in addition to the pre-existing .vimrc settings:
>
> set foldmethod=manual   " Restore default for ordinary files.
> au BufNewFile,BufRead   ~/misc/unix/Help  setlocal foldmethod=marker
> au BufNewFile,BufRead   ~/misc/unix/Help  set foldopen-=block
>
> But in that file, zf steadfastly inserts /*{{{*/ & /*}}}*/.
> Is there a way to have zf honour foldmarker?
> (I'm using v{motion} to test it.)

If I understand you correctly, you want:
:setl commentstring=

regards,
Christian

-- 
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

Reply via email to