Syntax file for nmodl. It's the language used in the NEURON simulator to add new components.
Taken from https://github.com/achilleas-k/vimconfig/blob/master/syntax/nmodl.vim. Feel free to update/imporve it. Pull requests welcome.
Please see https://github.com/alkino/vim-mod-syntax, which looks like a more complete syntax plugin for nmodl files.
Place in ~/.vim/syntax
or use pathogen
and the rest - you know what to do :)
At the end of your vimrc
file, add:
au BufRead,BufNewFile *.mod set filetype=nmodl