[chuck-users] ck.vim, syntax highlighting for Chuck programs

eduard eduard.aylon at gmail.com
Sat Oct 1 21:06:37 EDT 2005


Dear All,

I mainly edit CHUCK programs with VIM and I've been missing syntax  
highlighting to make the programs more readable.

I've attempted to do one myself, but actually what I've done is a  
terrible hack from the existing c.vim file ( syntax coloring for c  
programs).
So far I think it helps me much more than not having any highlighting  
at all, so I will send it to the list in case someone finds it of any  
use.

Two files are attached:
     1. ck.vim  --> this file must be copied in the same directory  
where other vim syntax highlighting files are. Mainly /usr/share/vim/ 
vim62/syntax.
                             In order to make the syntax highlighting  
effective, you must add the following line in /usr/share/vim/ 
filetype.vim :
                                                    au  
BufNewFile,BufRead *.ck          setf ck

     2. the second attachment is just a screenshot, so you can see  
how the syntax highlighting looks in my screen.



My knowledge of vim syntax highlighting is very poor, so feel free to  
improve it or let me know if you have any suggestions... I'm sure  
I've forgotten many things.


Eduard



-------------- next part --------------
A non-text attachment was scrubbed...
Name: ck.vim
Type: application/octet-stream
Size: 7616 bytes
Desc: not available
Url : http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20051002/415c8488/ck-0001.obj
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: chuck_syntax_highlight.tiff
Type: image/tiff
Size: 170458 bytes
Desc: not available
Url : http://lists.cs.princeton.edu/pipermail/chuck-users/attachments/20051002/415c8488/chuck_syntax_highlight-0001.tiff
-------------- next part --------------




More information about the chuck-users mailing list