ZyX wrote:
> I have written a syntax file for YAML markup language that has the
> following differencies with runtime/syntax/yaml.vim from mercurial
> repository:
>
> 1. It is higlights YAML-1.2, not YAML-1.1
> 2. Improved directive detection and higlighting (official was not able to
> properly detect YAML directives at all).
> 3. Better dictionary key higlighting (official was not able to highlight even
> key like ``a-b'', my can higlight ``a{b'')
> 4. Better number detection (official lacked sexadecimal numbers and
> proper number boundaries detection, there also were errors in special
> values (NaN and Inf) detection)
> 5. Improved anchor, alias and tag detection
> 6. Improved document end detection
> 7. Added `merge' key detection
> 8. Removed obsolete YAML-1.1 keywords
>
> Please, consider including it in the official distribution.
Since Nikolai would like you to take over maintenance, can you send me a
version with updated header? Add your name as the maintainer and
mention Nikolai as author of the previous version.
I don't know YAML, thus I can't say anything about the quality of this
syntax file. I would only add some more spaces to make it easier to
read, esp. around the use of "." for string contcatenation and "=" for
assignment.
--
hundred-and-one symptoms of being an internet addict:
144. You eagerly await the update of the "Cool Site of the Day."
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.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