diff options
author | rxi <rxi@users.noreply.github.com> | 2020-05-08 10:09:43 +0100 |
---|---|---|
committer | rxi <rxi@users.noreply.github.com> | 2020-05-08 10:09:43 +0100 |
commit | bf36b01430f42d7986f8aebc5a0f1d459c1b03fa (patch) | |
tree | bf3185c5484e07f3387a49b23f6c6b709f3c98d2 | |
parent | c6fca18d99232d73940a71b8ec6969005d746a7a (diff) | |
download | lite-xl-plugins-bf36b01430f42d7986f8aebc5a0f1d459c1b03fa.tar.gz lite-xl-plugins-bf36b01430f42d7986f8aebc5a0f1d459c1b03fa.zip |
Added backtick support to language_sh plugin
-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 1a9ab9a..e4ac704 100644 --- a/plugins/language_sh.lua +++ b/plugins/language_sh.lua @@ -8,6 +8,7 @@ syntax.add { { pattern = [[\.]], type = "normal" }, { pattern = { '"', '"', '\\' }, type = "string" }, { pattern = { "'", "'", '\\' }, type = "string" }, + { pattern = { '`', '`', '\\' }, type = "string" }, { pattern = "%f[%w_][%d%.]+%f[^%w_]", type = "number" }, { pattern = "[!<>|%[%]=*]", type = "operator" }, { pattern = "%f[%S]%-[%w%-_]+", type = "function" }, |