aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuldoman <giulio.lettieri@gmail.com>2022-01-25 19:53:47 +0100
committerGitHub <noreply@github.com>2022-01-25 19:53:47 +0100
commitd175218a308deafae8149eb656fd8e8bcbb792cc (patch)
tree16e67b260f8dd40c0bed62f1097d514d9152eefe
parent4f961d2212db89c0a04a1b9269d702e77a0158ec (diff)
parent1d968a80d38cb60c491bdc4c7eca8f9362faf1e9 (diff)
downloadlite-xl-plugins-d175218a308deafae8149eb656fd8e8bcbb792cc.tar.gz
lite-xl-plugins-d175218a308deafae8149eb656fd8e8bcbb792cc.zip
Merge pull request #25 from BenStigsen/patch-2
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" },