From fdb33e73025a98eaf4633dfab711f86f743a300c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Arrufat?= Date: Wed, 26 Jul 2023 12:37:35 +0900 Subject: [PATCH] zig: add c_char type --- rc/filetype/zig.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/zig.kak b/rc/filetype/zig.kak index f561ab3c..62b634f9 100644 --- a/rc/filetype/zig.kak +++ b/rc/filetype/zig.kak @@ -69,7 +69,7 @@ add-highlighter shared/zig/code/ regex '\b(?:fn|usingnamespace|test)\b' 0:keywor add-highlighter shared/zig/code/ regex '\b(?:bool|f16|f32|f64|f128|void|noreturn|type|anyerror|anyframe|anytype|anyopaque)\b' 0:type add-highlighter shared/zig/code/ regex '\b(?:i0|u0|isize||usize|comptime_int|comptime_float)\b' 0:type add-highlighter shared/zig/code/ regex '\b(?:[iu][1-9]\d*)\b' 0:type -add-highlighter shared/zig/code/ regex '\b(?:c_short|c_ushort|c_int|c_uint|c_long|c_ulong|c_longlong|c_ulonglong|c_longdouble)\b' 0:type +add-highlighter shared/zig/code/ regex '\b(?:c_char|c_short|c_ushort|c_int|c_uint|c_long|c_ulong|c_longlong|c_ulonglong|c_longdouble)\b' 0:type # primitive values add-highlighter shared/zig/code/ regex '\b(?:true|false|null|undefined)\b' 0:value