aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_sh.lua
diff options
context:
space:
mode:
authorrxi <rxi@users.noreply.github.com>2020-05-08 09:18:02 +0100
committerrxi <rxi@users.noreply.github.com>2020-05-08 09:18:02 +0100
commitc6fca18d99232d73940a71b8ec6969005d746a7a (patch)
tree475f3b552d1bbc9a576abb79634e09ef231be1fe /plugins/language_sh.lua
parent2448a95e99d57bda61d0b6e7596f6829be5d457a (diff)
downloadlite-xl-plugins-c6fca18d99232d73940a71b8ec6969005d746a7a.tar.gz
lite-xl-plugins-c6fca18d99232d73940a71b8ec6969005d746a7a.zip
language_sh plugin improvements
Diffstat (limited to 'plugins/language_sh.lua')
-rw-r--r--plugins/language_sh.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/language_sh.lua b/plugins/language_sh.lua
index e76cabc..1a9ab9a 100644
--- a/plugins/language_sh.lua
+++ b/plugins/language_sh.lua
@@ -11,6 +11,7 @@ syntax.add {
{ pattern = "%f[%w_][%d%.]+%f[^%w_]", type = "number" },
{ pattern = "[!<>|%[%]=*]", type = "operator" },
{ pattern = "%f[%S]%-[%w%-_]+", type = "function" },
+ { pattern = "${.*}", type = "keyword2" },
{ pattern = "$[%a_@*][%w_]*", type = "keyword2" },
{ pattern = "[%a_][%w_]*", type = "symbol" },
},