diff options
author | rxi <rxi@users.noreply.github.com> | 2020-05-08 09:18:02 +0100 |
---|---|---|
committer | rxi <rxi@users.noreply.github.com> | 2020-05-08 09:18:02 +0100 |
commit | c6fca18d99232d73940a71b8ec6969005d746a7a (patch) | |
tree | 475f3b552d1bbc9a576abb79634e09ef231be1fe | |
parent | 2448a95e99d57bda61d0b6e7596f6829be5d457a (diff) | |
download | lite-xl-plugins-c6fca18d99232d73940a71b8ec6969005d746a7a.tar.gz lite-xl-plugins-c6fca18d99232d73940a71b8ec6969005d746a7a.zip |
language_sh plugin improvements
-rw-r--r-- | plugins/language_sh.lua | 1 |
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" }, }, |