cmod.vim : Cmod syntax colouring (Pike development)
script karma |
Rating 8/2,
Downloaded by 1449 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Stephen R. van den Berg |
|
script type |
syntax |
|
description |
Supports Cmod files, including embedded Autodoc formatting. |
|
install details |
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). |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.22.70.9
|