An excellent Vim's syntax highlighting file for Vim script.
https://github.com/vim-jp/syntax-vim-ex
Of course, we have to follow the updates of the latest of Vim! (7.4.1721)
Please check it.
Thanks.
--
Best regards,
Hirohito Higashi (a.k.a. h_east)
2016-4-9(Sat) 10:26:40 UTC+9 h_east:
> Hi Vim users,
>
> An excellent Vim's syntax highlighting file for Vim script.
>
> https://github.com/vim-jp/syntax-vim-ex
>
> Of course, we have to follow the updates of the latest of Vim! (7.4.1721)
> Please check it.
>
> Thanks.
Original syntax/vim.vim has been updated in the preceding ten a few hours.
Let's look at the difference between the syntax-vim-ex.
NOTE:
Original update date is "March 29, 2016".
syntax-vim-ex is "Apr 08, 2016".
Ex command:
Totally, Many wasted keyword specified in original.
e.g.
ar
argd
`ar` is not required because `ar[gs]` has been specified.
`argd` does not need because `argd[elete]` has been specified in the same way.
Vim options:
biosk, bioskey, consk, conskey, oft, osfiletype is obsolete option.
These option should move to `vimErrSetting` hlghlight group.
nobiosk, nobioskey, noconsk, noconskey, invbiosk, invbioskey, invconsk, invconskey too.
Missing invemo, invemoji, noemo, noemoji.
(Above is missing in help file. `runtime/doc/options.txt`)
Missing Vim options (`vimErrSetting`):
syntax-vim-ex supports more missing vim options.
See attached file. (more_vimErrSetting.diff)
Autocommand events:
Original has following keyword. But there is no such events.
Cmd-event
UserGettingBored
Functions:
Missing reltimefloat() in original. This function added on Feb 7.
`expr8` keyword exist in original. But there is no such function.
NOTE:
assert_notequal() and assert_notmatch() has been added after the original update.
2016-4-13(Wed) 18:44:29 UTC+9 Marcin:
> Hi,
>
> Have you reached the maintainer of the original syntax file. He might
> be interested in issues you found.
I know that he is watching this thread. (Hi Charles :-)
Because, Most of the individual pointed out has been fixed in about 18 hours prior to commit.
https://github.com/vim/vim/commit/03413f44167c4b5cd0012def9bb331e2518c83cf#diff-86da060e2153c8ce5dc317a7b4b5a29d
Before that, I reported typos of the document to vim_dev.
https://groups.google.com/d/msg/vim_dev/QlcBo8pTrf0/_OTE1qBXBQAJ
His generator has been generated based on the document, So it is automatically fixed in the next release When a document is modified.
Catch up Vim 7.4.2054!
https://github.com/vim-jp/syntax-vim-ex
I was corresponding to the following reports in vim_dev.
[PATCH resend] <Enter> is not highlighted when editing Vim configuration files
https://groups.google.com/d/msg/vim_dev/zhzo438Kvhg/AH0Q11arBwAJ
Minor update to runtime files
https://groups.google.com/d/msg/vim_dev/uvBpx6aF2-U/a1T-djRLCQAJ
And some bugfix and improvement.
Check it please.
P.S.
The original syntax/vim.vim of last update date is May 8.