spacer
    spacer spacer spacer
spacer
spacer
not logged in (login)
 

spacer
spacer
spacer
Home
Advanced search
spacer
spacer
spacer
About Vim
Community
News
Sponsoring
Trivia
Documentation
Download
spacer
spacer
spacer
Scripts
Tips
My Account
spacer
spacer
spacer
Site Help

spacer
spacer

 
spacer
rnc.vim : RELAX NG Compact Syntax

 script karma  Rating 43/22, Downloaded by 3480    Comments, bugs, improvements  Vim wiki

created by
Hans Fugal
 
script type
syntax
 
description
Syntax highlighting for RELAX NG Compact Syntax: 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.
 
install details
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
augroup filetypedetect
  au! BufRead,BufNewFile *.rnc setfiletype rnc
augroup END

On windows systems, use your vimfiles directory instead of ~/.vim
 
rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
rnc.vim 1.7 2003-06-21 6.0 Hans Fugal 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.
rnc.vim 1.0 2002-08-16 6.0 Hans Fugal Initial upload
ip used for rating: 94.87.15.185

spacer
spacer
spacer
spacer If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
spacer spacer
spacer
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.