Syntax highlighting for NED files in Vim
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 vim.org. Installation is simple:
- Download ned.vim into ~/.vim/syntax/ (you may need to create a new directory)
- Add the following to your ~.vimrc:
au BufNewFile,BufRead *.ned set syntax=ned
That’s all!