aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco <francesco.bbt@gmail.com>2021-08-10 12:25:06 +0200
committerGitHub <noreply@github.com>2021-08-10 12:25:06 +0200
commit883d6b4168f2f246f0141f88a7952bb54fcad18e (patch)
tree7aa563ed0987eb799439d4bbd4c7c26f05c4b01c
parent661f13314d3ea05e4ccd9cfe3266def42eb41b05 (diff)
parenteaf5e2565248305dcea020ec08af2e360cdbe622 (diff)
downloadlite-xl-plugins-883d6b4168f2f246f0141f88a7952bb54fcad18e.tar.gz
lite-xl-plugins-883d6b4168f2f246f0141f88a7952bb54fcad18e.zip
Merge pull request #50 from StunxFS/fix-language-v
language_v: fix `pub` and `none`
-rw-r--r--plugins/language_v.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/language_v.lua b/plugins/language_v.lua
index e4dc19b..2a580c6 100644
--- a/plugins/language_v.lua
+++ b/plugins/language_v.lua
@@ -45,8 +45,8 @@ syntax.add {
["match"] = "keyword",
["module"] = "keyword",
["mut"] = "keyword2",
- ["none"] = "keyword",
["or"] = "keyword",
+ ["pub"] = "keyword",
["return"] = "keyword",
["rlock"] = "keyword",
["select"] = "keyword",
@@ -63,7 +63,7 @@ syntax.add {
["true"] = "literal",
["false"] = "literal",
- ["pub"] = "literal",
+ ["none"] = "literal",
},
}