Warning: Trying to access array offset on value of type bool in /data/www/freeminded.org/www/wp-content/plugins/wp-latex/wp-latex.php on line 39 Syntax highlighting for SCA files in Vim @ Freeminded.org Warning: Trying to access array offset on value of type bool in /data/www/freeminded.org/www/wp-content/plugins/wp-latex/wp-latex.php on line 46

Syntax highlighting for SCA files in Vim

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

You may find yourself browsing through scalar output files of OMNeT++. A little syntaxhighlighting may be useful here.
I based this on the NED syntax highlighter by Timo Teifel.

Installation is simple:

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

Enjoy!


Leave a Reply