diff options
author | PerilousBooklet <raffaele.orabona@protonmail.com> | 2024-04-20 19:22:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-20 19:22:59 +0200 |
commit | 92c0069ae603fa9cc8dc3493570aab55d1f753ee (patch) | |
tree | 317b17d1186bc7be12aacc551cea717b1a51be95 /plugins | |
parent | dd62881b68bff92e61f0358413932773097efa8c (diff) | |
download | lite-xl-plugins-92c0069ae603fa9cc8dc3493570aab55d1f753ee.tar.gz lite-xl-plugins-92c0069ae603fa9cc8dc3493570aab55d1f753ee.zip |
Add import pattern for Groovy. (#425)
* Added import pattern.
* Fixed spacing.
* Bumped version.
* Fix versions.
* Fixed meta_languages version.
Diffstat (limited to 'plugins')
-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. |