Vim Tips Wiki


1,613pages on
this wiki
Revision as of 06:59, March 2, 2013 by JohnBeckett (Talk | contribs)

Use this page to discuss script 945 groovy: syntax file for the groovy programming language

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.

Patch for groovy syntax

The following patch will enable correct highlighting of triple quote, triple double-quote and "x is $x".

# diff groovy.vim.orig groovy.vim
> syn region  groovyString          start='"""' end='"""' fold contains=groovySpecialChar,groovySpecialError,@Spell,groovyELExpr
> syn region  groovyString          start="'''" end="'''" fold contains=groovySpecialChar,groovySpecialError,@Spell,groovyELExpr
<  syn match groovyELExpr /\${.\{-}}/ contained
> syn match groovyELExpr /\${.\{-}}/ contained
> syn match groovyELExpr /\$[a-zA-Z][a-zA-Z.]*/ contained

The author of the patch lists an email address that is unresponsive, and since nobody else can upload a patch, now what? --March 2, 2013

There is no good way to handle that. Sometimes another user makes a new script and in the description explains that it is a modified version of an earlier script. Or, just post updates here and hope that those interested will find this page. I saw the post at vim_use. You can't do any more. JohnBeckett (talk) 06:59, March 2, 2013 (UTC)


Around Wikia's network

Random Wiki