diff options
Diffstat (limited to 'plugins/language_groovy.lua')
-rw-r--r-- | plugins/language_groovy.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/language_groovy.lua b/plugins/language_groovy.lua index 8a3c5b8..2886e10 100644 --- a/plugins/language_groovy.lua +++ b/plugins/language_groovy.lua @@ -24,6 +24,7 @@ syntax.add { { pattern = "[%a_][%w_]*%f[(]", type = "function" }, -- Function/Class/Method/... { pattern = "[%a_][%w_]*%f[%[]", type = "function" }, -- Custom Type { regex = "[A-Z]+_?[A-Z]+", type = "keyword2" }, -- Constants + { pattern = "import()%s+()[%w_.]+", type = { "keyword", "normal", "normal" } }, { pattern = "[%a_][%w_]*", type = "symbol" }, -- ? { pattern = "[a-zA-Z]+%.+", type = "function" }, -- Lib path -- TODO: .class. |