Friday, March 8, 2013

Re: vim voldmarker with a space

On 3/8/2013 6:01 PM, Tim Chase wrote:
> On 2013-03-08 17:13, ping wrote:
>> See |fold-marker|.
>> but if I use this:
>>
>> :set foldmarker= {,}
>>
>> I got E536: comma required: foldmarker=
>>
>> why space not supported?
> You just need to escape the space:
>
> :set foldmethod=marker foldmarker=\ {,}
>
> which you can read about at
>
> :help option-backslash
>
> Alternatively, you can use the "let" format:
>
> :let &fdm=' {,}'
>
> -tim
>
>
this really works! thanks!

regards
ping

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: