diff options
Diffstat (limited to 'plugins/language_sh.lua')
-rw-r--r-- | plugins/language_sh.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/language_sh.lua b/plugins/language_sh.lua index c4153c2..684b070 100644 --- a/plugins/language_sh.lua +++ b/plugins/language_sh.lua @@ -1,3 +1,4 @@ +-- mod-version:1 -- lite-xl 1.16 local syntax = require "core.syntax" syntax.add { @@ -13,7 +14,7 @@ syntax.add { { pattern = "%f[%w_][%d%.]+%f[^%w_]", type = "number" }, { pattern = "[!<>|&%[%]=*]", type = "operator" }, { pattern = "%f[%S]%-[%w%-_]+", type = "function" }, - { pattern = "${.*}", type = "keyword2" }, + { pattern = "${.-}", type = "keyword2" }, { pattern = "$[%a_@*][%w_]*", type = "keyword2" }, { pattern = "[%a_][%w_]*", type = "symbol" }, }, |