From daca2e896af3ae18d65ad36b79c99f7d9e584d68 Mon Sep 17 00:00:00 2001 From: lqdev Date: Tue, 20 Jul 2021 20:32:52 +0200 Subject: added missing keywords to language_zig --- plugins/language_zig.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugins/language_zig.lua') 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", -- cgit v1.2.3