sponsor Vim development Vim logo Vim Book Ad

OMNeT++4.x NED Syntax file : The script is a syntax file for OMNeT++ 4.x NED scripts

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

created by
lei xue
 
script type
syntax
 
description
I find the syntax file for ned, but it is just for OMNeT++ 3.x network simulator and was not updated for a long time. Now, The OMNeT++ 4.x network simulator is released, I wish the ned.vim file can help users work easily.

The syntax file include:
* highlight all functions keywords
* highlight the number, float, double types and so on
* highlight the properties(such as: @loose, @prompt, @unit and so on)
* code folding
    you can set this by edit the .vimrc, for examples "let ned_fold=1" or "let ned_nofold_blocks=1" or "let ned_nofold_packages=1"
* highlight the document keywords, TODO, FIXME and so on

more information in the ned.vim, enjoy it.
 
install details
copy to ~/.vim/syntax (if there is not that directory, you can execute the command "mkdir -p ~/.vim/syntax")
add to your ~/.vimrc:
   au BufNewFile,BufRead *.ned set syntax=ned
 

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 2010-11-26 7.0 lei xue add "package" and "inout" syntax
ned.vim 0.1 2010-10-19 7.0 lei xue Initial upload
ip used for rating: 3.17.74.153

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