Syntax highlighting for NED files in Vim

This entry was posted by on Wednesday, 13 April, 2011 at

If you want to edit OMNeT++ NED files in Vim, it may be nice to have some syntax highlighting.

This is not (yet) installed by default but there’s a good syntax highlight file by Timo Teifel at Installation is simple:

  1. Download ned.vim into ~/.vim/syntax/ (you may need to create a new directory)
  2. Add the following to your ~.vimrc: au BufNewFile,BufRead *.ned set syntax=ned

That’s all!

Leave a Reply