Antony Lee wrote:
> Hi all,
> I believe that the default syntax file for cfg files (syntax/cfg.vim) should be modified as follows:
>
> 20,21c20,21
> < "Parameters
> < syn match CfgParams ".*="me=e-1 contains=CfgComment
> ---
> > "Parameters (match must be nongreedy)
> > syn match CfgParams ".\{-}="me=e-1 contains=CfgComment
>
> This way in a line such as
>
> foo=bar=baz
>
> foo is highlighted as the parameter and bar=bar as the value.
Makes sense.
> A typical use case is for hgrc files, where values can indeed be strings containing "=".
>
> How should I submit this request "officially"?
The maintainer is: Igor N. Prischepoff (igor@tyumbit.ru, pri_igor@mail.ru)
--
Google is kind of like Dr. Who's Tardis; it's weirder on the
inside than on the outside...
/// Bram Moolenaar -- Bram@Moolenaar.net -- 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_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
Saturday, August 11, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment