Custom vim indenting and syntax highlighting for Groovy
Copied from http://www.vim.org/scripts/script.php?script_id=2961 and then s/^M$//
A fork of groovy.vim (taken from the neovim project), with the following changes:
- Annotations are matched and highlighted as
PreProc(similar tojava.vim) - Match
/* comment blocks */asCommentinstead ofgroovyString - Don't treat division operator (
/) as start of regex