commit 912e9c792702519ca03cd3e3048e8d276a5d3947 (tree) parent 57713ce328ef1cf6778d1b4d470669eaab6ec6e8 Author: Andrew Kelley <andrew@ziglang.org> Date: Wed, 20 May 2020 22:00:17 -0400 modify syntax Diffstat:
| M | syntax/zig.vim | | | 2 | +- |
| M | syntax/zir.vim | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/syntax/zig.vim b/syntax/zig.vim @@ -10,7 +10,7 @@ let b:current_syntax = "zig" syn keyword zigStorage const var extern packed export pub noalias inline noinline comptime callconv volatile allowzero align linksection threadlocal syn keyword zigStructure struct enum union error -syn keyword zigStatement break return continue asm defer errdefer unreachable try catch async noasync await suspend resume +syn keyword zigStatement break return continue asm defer errdefer unreachable try catch async nosuspend await suspend resume syn keyword zigConditional if else switch and or orelse syn keyword zigRepeat while for diff --git a/syntax/zir.vim b/syntax/zir.vim @@ -12,7 +12,7 @@ syn region zirCommentLine start=";" end="$" contains=zirTodo,@Spell syn region zirBlock start="{" end="}" transparent fold -syn keyword zirKeyword primitive fntype int str as ptrtoint fieldptr deref asm unreachable export ref +syn keyword zirKeyword primitive fntype int str as ptrtoint fieldptr deref asm unreachable export ref fn syn keyword zirTodo contained TODO