aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_zig.lua
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2021-08-17 11:26:18 -0230
committerGitHub <noreply@github.com>2021-08-17 11:26:18 -0230
commit9689846686f77dc0aa1e6f4d31fbfc42998c2085 (patch)
treeb187286f2ed78fa9317f288dc0c5144840bcdad9 /plugins/language_zig.lua
parent44659ba00207cecd90412b714e53c2a1b7233fb9 (diff)
parenta42a0d57b08a9080ed9fd8fa84f1269e3847980f (diff)
downloadlite-xl-plugins-9689846686f77dc0aa1e6f4d31fbfc42998c2085.tar.gz
lite-xl-plugins-9689846686f77dc0aa1e6f4d31fbfc42998c2085.zip
Merge branch 'master' into 2.0
Diffstat (limited to 'plugins/language_zig.lua')
-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 3c4f6fa..4629e89 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",