sponsor Vim development Vim logo Vim Book Ad

sablecc.vim : syntax highlighting for sablecc

 script karma  Rating 0/0, Downloaded by 533  Comments, bugs, improvements  Vim wiki

created by
lazy boy
 
script type
syntax
 
description
This file provides syntax highlighting for sablecc grammar. For windows compatible the
grammar should end with .scc
 
install details
I have not try in windows. This instruction is for Linux
1) Copy the file in syntax directory
$ mkdir -p ~/.vim/syntax
$ cp sablecc.vim ~/.vim/syntax

2) Associate *.scc file with the script
gvim ~/.vimrc

put these line in the script:

augroup filetypedetect
au BufNewFile,BufRead *.scc setf sablecc
augroup END

 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
sablecc.vim July, 15th 2010-10-03 7.0 lazy boy hightlighting for transformation from CST to AST. ( {-> .....} )
sablecc.vim beta 2010-07-16 7.2 lazy boy Initial upload
ip used for rating: 13.59.243.194

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.
   
Vim at Github