project summary
|
|
JFlex syntax highlighting for Vim
|
Syntax highlighting is also available for xemacs.
Overview
This page describes the vim syntax file for JFlex. It exentends vim's
syntax highlighting to JFlex specifications. It recognizes JFlex keywords,
macro definitions, and Java actions.
The vim syntax file is also part of the JFlex distribution (in the lib directory)
Download
Installation
- Put the file jflex.vim into the directory ~/.vim/syntax.
- Put the following code at the end of your vim init file ~/.vimrc:
augroup filetype
au BufRead,BufNewFile *.flex,*.jflex set filetype=jflex
augroup END
au Syntax jflex so ~/.vim/syntax/jflex.vim
|
|
|