sponsor Vim development Vim logo Vim Book Ad

drools.vim : Syntax highlighting for DROOLS Rules Sets.

 script karma  Rating 17/8, Downloaded by 1001  Comments, bugs, improvements  Vim wiki

created by
Alan Daniels
 
script type
syntax
 
description
Syntax highlighting for "Rules Set" files for the DROOLS Rules Engine, a.k.a, JBoss Rules: http://labs.jboss.com/jbossrules/. This does a ton of borrowing from the existing Java syntax file, as written by Claudio Fleiner <claudio@fleiner.com>, so I hope he doesn't mind. This is just an initial version that I wrote to make writing DROOLS files a little more bearable, so if you see any desired improvements, just e-mail me and let me know. Thanks!
 
install details
In the "autocmds" section of your .vimrc file, just add this line:
au bufreadpost,filereadpost *.drl set ft=drools
 

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
drools.vim 0.1 2007-07-02 6.0 Alan Daniels Initial upload
ip used for rating: 44.197.116.176

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