cmod.vim : Cmod syntax colouring (Pike development)
| script karma
Downloaded by 36
Comments, bugs, improvements
|Stephen R. van den Berg|
|Supports Cmod files, including embedded Autodoc formatting.|
|You need a line in filetype.vim (or .vimrc) that reads:
au BufNewFile,BufRead *.cmod setf cmod
It needs autodoc.vim (vimscript #5641) too (or comment out the include).
It's probably simplest to just put this file in your ~/.vim dir, which (by default) is at the top of your runtimepath.
On my system I install both cmod.vim and autodoc.vim in /usr/share/vim/vim80/syntax.
If you don't have matchit, simply comment out the corresponding line in cmod.vim referencing it (if you do, you lose if/then/else/elif/endif cycling; the rest will work fine).
To edit pike files, you can use pike.vim (vimscript #5640).
Rating scripts is only available on the
script versions (upload new version)
Click on the package to download.
ip used for rating: 220.127.116.11