An excellent Vim's syntax highlighting file for Vim script.
Announcement: The generator part of this product has been included in the main stream with 9b53c05.
Difference between original
- The syntax-vim-ex has been generated by parse the C source code of Vim. So keyword extraction is accurate.
- Omitted keyword extraction algorithm of Ex command is perfect because it is same and the C source code of Vim.
- It will immediately follow the Vim updates.
- Generator source code is all open sourced. (See generator branch)
Vim 7.4.1486 or later
$ cd ~/.vim
$ mkdir -p pack/my/opt
$ cd pack/my/opt
$ git clone --single-branch --depth 1 https://github.com/vim-jp/syntax-vim-ex.gitAdd following line to your .vimrc.
packadd! syntax-vim-exRemarks:
- In the case of Windows should read the
~/.vimto%HOMEDRIVE%%HOMEPATH%\vimfiles. And mkdir-poption is not required. - Directory name
mycan be changed to any name. - If you want to configure the package under
~/.vimdirectory as in this example the setting of option'packpath'is not required. - If you are calling
:packloadallexplicitly in your .vimrc,packaddshould be added before it.
$ cd ~/.vim/pack/my/opt/syntax-vim-ex
$ git pullFollow the Vim license
- Hirohito Higashi (h_east)
- vim-jp
- Charles E. Campbell (author of original syntax/vim.vim)