sponsor Vim development Vim logo Vim Book Ad

OMNeT++ NED syntax file : Syntax file for OMNeT++ NED files

 script karma  Rating 5/5, Downloaded by 1291  Comments, bugs, improvements  Vim wiki

created by
Timo Teifel
 
script type
syntax
 
description
I didn't find a syntax file for the network description language of the OMNeT++ network simulator. Its files are called *.ned.

This syntax file just does basic highlighting and doesn't know any regions or areas. I will maybe change this when I learned how to do it ;)

If somebody has a better syntax file for this filetype, please tell me!
 
install details
copy to ~/.vim/syntax
add to your ~/.vimrc:
   au BufNewFile,BufRead *.ned set syntax=ned
that should be all.
Previously, I had the line
   au Filetype ned set syntax=ned
But I found out that this doesn't work with every installation, so use the one above...
 

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
ned.vim 0.2 2005-11-28 6.0 Timo Teifel new keywords added
recognises numbers
made it more portable (I read the right chapter in the help ;-) )
ned.vim 0.1 2005-11-25 6.0 Timo Teifel Initial upload
ip used for rating: 142.132.191.50

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.
   
Vim at Github