sponsor Vim development Vim logo Vim Book Ad

n3.vim : RDF Notation 3 Syntax File

 script karma  Rating 86/37, Downloaded by 2124    Comments, bugs, improvements  Vim wiki

created by
Niklas Lindström
 
script type
syntax
 
description
This is a syntax file to highlight Notation 3 documents for describing RDF (meta-)data.

It handles basic highlighting, but has not currently any complex error detecting features (e.g. for non-closed statements etc), nor any fold regions defined.

About Notation 3 (excerpt from: http://www.w3.org/DesignIssues/Notation3.html):

"This is a langauge which is a compact and readable alternative to RDF's XML syntax, but also is extended to allow greater expressiveness."

That said, download this and see if it helps you in semantic endeavours.

Comments, suggestions and assistance are all welcome!
 
install details
Drop in your syntax directory ("~/.vim/syntax/" on unix-style systems).

To add as a filetype, add this in your "~/.vim/filetype.vim":
    " RDF Notation 3 Syntax
    augroup filetypedetect
        au BufNewFile,BufRead *.n3  setfiletype n3
    augroup END

See also the built-in help in Vim:
    :help mysyntaxfile
    :help usr_43.txt
 

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
n3.vim 1.1 2007-03-16 6.0 Niklas Lindström Highlighting "ClassNames" and "propertyNames" separately.
n3.vim 1.0 2004-03-23 6.0 Niklas Lindström Initial upload
ip used for rating: 174.129.74.186

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.
   
SourceForge.net Logo