sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

cmod.vim : Cmod syntax colouring (Pike development)

 script karma  Rating 4/1, Downloaded by 36    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).
 

Rating scripts is only available on the HTTPS page

script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
cmod.vim 2.3 2018-01-18 7.0 Stephen R. van den Berg Avoid triggering embedded autodoc on every exclamation mark.
cmod.vim 2.2.1b 2018-01-18 7.0 Stephen R. van den Berg Added a lot of keywords.
cmod.vim 2.2.1a 2018-01-18 7.0 Stephen R. van den Berg Workaround for bug in matchit.
cmod.vim 2.2.1 2018-01-18 7.0 Stephen R. van den Berg Initial upload
ip used for rating: 54.221.17.234

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo