aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Stigsen <benjamin.stigsen@gmail.com>2022-01-25 16:42:35 +0100
committerGitHub <noreply@github.com>2022-01-25 16:42:35 +0100
commit1d968a80d38cb60c491bdc4c7eca8f9362faf1e9 (patch)
tree16e67b260f8dd40c0bed62f1097d514d9152eefe
parent4f961d2212db89c0a04a1b9269d702e77a0158ec (diff)
downloadlite-xl-plugins-1d968a80d38cb60c491bdc4c7eca8f9362faf1e9.tar.gz
lite-xl-plugins-1d968a80d38cb60c491bdc4c7eca8f9362faf1e9.zip
language_v: add bactick string support
-rw-r--r--plugins/language_v.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/language_v.lua b/plugins/language_v.lua
index e6eb8a1..18191b6 100644
--- a/plugins/language_v.lua
+++ b/plugins/language_v.lua
@@ -11,6 +11,7 @@ syntax.add {
{ pattern = { "/%*", "%*/" }, type = "comment" },
{ pattern = { '"', '"', '\\' }, type = "string" },
{ pattern = { "'", "'", '\\' }, type = "string" },
+ { pattern = { "`", "`", '\\' }, type = "string" },
{ pattern = "0x[%da-fA-F_]+", type = "number" },
{ pattern = "0b[01_]+", type = "number" },
{ pattern = "00[01234567_]+", type = "number" },