Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
My "fork" of Adrian Thurston's syntax file
VimL
branch: master
Failed to load latest commit information.
syntax Remove extra `endif`
README.md fix the path in the readme

README.md

ragel.vim

This syntax file highlights ragel files with real highlighting for the host language.

Major caveat

If the host language's highlighter uses ALL or ALLBUT (I'm looking at you, c.vim), this will cause some ragel highlighting rules to leak into the outer code. A hack to fix this is:

sudo sed -i 's/ALLBUT|ALL/TOP/g' /usr/share/vim/vimcurrent/syntax/$host.vim

If anyone has tips on how to fix this in ragel.vim (other than reading the host syntax file and using substitute()), please let me know.

Something went wrong with that request. Please try again.