How to install this:
1) Follow the directions for "MAKING YOUR OWN SYNTAX FILES" in:
http://vimdoc.sourceforge.net/htmldoc/syntax.html#mysyntaxfile
These instructions essentially say to copy the syntax file (jam_mr.vim)
to $(HOME)/.vim/syntax if you're on Unix. If you're not, do what the
document suggests.
2) Let vim know how to identify Jam files. General info on how
to identify files is here:
http://vimdoc.sourceforge.net/htmldoc/filetype.html#new-filetype
Here's the command which I put in my $(HOME)/.vim/filetype.vim file:
" Jam/MR
au BufNewFile,BufRead [Jj]amfile,Jamrules,Jambase setf jam_mr
This works under Vim 6.0 and I would expect it to work under other
versions.
Happy Jamming!
-Chris
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #1 | 4383 | Chris Comparini |
Jam syntax highlighting file for vim. Initial (somewhat rough) revision. |