rnc.vim : RELAX NG Compact Syntax
| script karma
Downloaded by 3306
Comments, bugs, improvements
script versions (upload new version)
|Syntax highlighting for RELAX NG Compact Syntax: http://www.oasis-open.org/committees/relax-ng/compact-20020607.html
This is currently very helpful (a little color goes a long way), but not quite fully mature. I am happy to add the feature you want most, and incrementally it will grow into a mature syntax file.
|1. Save rnc.vim in ~/.vim/syntax (create the directories if necessary)
2. Edit ~/.vim/filetype.vim, and put the following line in it:
" RELAX NG Compact Syntax
au! BufRead,BufNewFile *.rnc setfiletype rnc
On windows systems, use your vimfiles directory instead of ~/.vim
Click on the package to download.
ip used for rating: 18.104.22.168
||Some context sensitivity in response to feature requests. (hint, hint) This version now handles named parameters, element and attribute names, and better handles assignmentMethod operators. Annotations have their own highlight group although currently it's not highlight-linked to anything.