diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-01 23:21:50 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-05-01 23:47:11 -0400 |
commit | 2081504a331f2ca97922056f6b42b8d0e6c2e306 (patch) | |
tree | 49017e3dac80477d29e9aee14953f905cf1c7f2d /runtime/syntax/groovy.vim | |
parent | ac83c6eba65e92d434f3245f518f869c94751e6b (diff) | |
download | rneovim-2081504a331f2ca97922056f6b42b8d0e6c2e306.tar.gz rneovim-2081504a331f2ca97922056f6b42b8d0e6c2e306.tar.bz2 rneovim-2081504a331f2ca97922056f6b42b8d0e6c2e306.zip |
vim-patch:942db23c9cb7
Update runtime files
https://github.com/vim/vim/commit/942db23c9cb7532d68048530d749eb84ca94d0cd
Omit po files.
Diffstat (limited to 'runtime/syntax/groovy.vim')
-rw-r--r-- | runtime/syntax/groovy.vim | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/syntax/groovy.vim b/runtime/syntax/groovy.vim index 9bc1bd6d8d..41495e6682 100644 --- a/runtime/syntax/groovy.vim +++ b/runtime/syntax/groovy.vim @@ -2,9 +2,9 @@ " Language: Groovy " Original Author: Alessio Pace <billy.corgan AT tiscali.it> " Maintainer: Tobias Rapp <yahuxo+vim AT mailbox.org> -" Version: 0.1.17 +" Version: 0.1.18 " URL: http://www.vim.org/scripts/script.php?script_id=945 -" Last Change: 2020 May 26 +" Last Change: 2021 Feb 03 " THE ORIGINAL AUTHOR'S NOTES: " @@ -253,7 +253,8 @@ if exists("groovy_regex_strings") endif " syn region groovyELExpr start=+${+ end=+}+ keepend contained syn match groovyELExpr /\${.\{-}}/ contained -syn match groovyELExpr /\$[a-zA-Z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\uFFFE_][a-zA-Z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\uFFFE0-9_.]*/ contained +" Fix: force use of the NFA regexp engine (2), see GitHub issue #7280 +syn match groovyELExpr /\%#=2\$[a-zA-Z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\uFFFE_][a-zA-Z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF\u0100-\uFFFE0-9_.]*/ contained hi def link groovyELExpr Identifier " TODO: better matching. I am waiting to understand how it really works in groovy |