aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorlqdev <liquidekgaming@gmail.com>2021-07-20 20:32:52 +0200
committerlqdev <liquidekgaming@gmail.com>2021-07-20 20:32:52 +0200
commitdaca2e896af3ae18d65ad36b79c99f7d9e584d68 (patch)
treed7452c7e318790a02e812f9772284418eea567fb /plugins
parent69d1d5f6da76b06f03aa08ba84bf686ba1844545 (diff)
downloadlite-xl-plugins-daca2e896af3ae18d65ad36b79c99f7d9e584d68.tar.gz
lite-xl-plugins-daca2e896af3ae18d65ad36b79c99f7d9e584d68.zip
added missing keywords to language_zig
Diffstat (limited to 'plugins')
-rw-r--r--plugins/language_zig.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/language_zig.lua b/plugins/language_zig.lua
index ed6f385..3b4c953 100644
--- a/plugins/language_zig.lua
+++ b/plugins/language_zig.lua
@@ -39,6 +39,7 @@ syntax.add {
["while"] = "keyword",
["var"] = "keyword",
["anytype"] = "keyword",
+ ["anyframe"] = "keyword",
["const"] = "keyword",
["test"] = "keyword",
["packed"] = "keyword",
@@ -76,6 +77,10 @@ syntax.add {
["enum"] = "keyword",
["union"] = "keyword",
["opaque"] = "keyword",
+ ["inline"] = "keyword",
+ ["allowzero"] = "keyword",
+ ["noalias"] = "keyword",
+ ["nosuspend"] = "keyword",
-- types
["f16"] = "keyword2",