Dominique wrote:

> In :help modeline-version there is an incorrect modeline example:
> 
> === BEGIN QUOTE ===
> If you want to include a ':' in a set command precede it with a '\'.  The
> backslash in front of the ':' will be removed.  Example:
>    /* vi:set dir=c\:\tmp: */ ~
> This sets the 'dir' option to "c:\tmp".  Only a single backslash before the
> ':' is removed.  Thus to include "\:" you have to specify "\\:".
> === END QUOTE ===
> 
> That modeline does not work. It gives:
> 
> Error detected while processing modelines:
> line    1:
> E520: Not allowed in a modeline: dir=c:\tmp
> 
> It is forbidden to set option 'dir' in the modeline.
> So attached patch changes the example to:
> 
> /* vi:set fillchars=stl\:^,vert\:\|: */

Thanks!

-- 
   GALAHAD hurries to the door and pushes through it.  As he leaves the room
   we CUT TO the reverse to show that he is now in a room full of bathing
   and romping GIRLIES, all innocent, wide-eyed and beautiful.  They smile
   enchantingly at him as he tries to keep walking without being diverted by
   the lovely sights assaulting his eyeballs.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201912172141.xBHLfHpr022661%40masaka.moolenaar.net.

Raspunde prin e-mail lui