From 5e74a826bbe3927c73fb031d16daafdc83b9d379 Mon Sep 17 00:00:00 2001 From: Andy Weidenbaum Date: Sun, 20 Nov 2022 09:27:55 +1100 Subject: [PATCH] highlight FIXME and XXX in addition to TODO credit - https://github.com/ziglang/zig.vim/pull/80 --- syntax/zig.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/zig.vim b/syntax/zig.vim index f8114ba..730c711 100644 --- a/syntax/zig.vim +++ b/syntax/zig.vim @@ -242,7 +242,7 @@ syntax region zigCommentLineDoc start="//[/!]/\@!" end="$" contains=zigTodo,@Spe syntax match zigMultilineStringPrefix /c\?\\\\/ contained containedin=zigMultilineString syntax region zigMultilineString matchgroup=zigMultilineStringDelimiter start="c\?\\\\" end="$" contains=zigMultilineStringPrefix display -syntax keyword zigTodo contained TODO +syntax keyword zigTodo contained FIXME TODO XXX syntax region zigString matchgroup=zigStringDelimiter start=+c\?"+ skip=+\\\\\|\\"+ end=+"+ oneline contains=zigEscape,zigEscapeUnicode,zigEscapeError,@Spell syntax match zigEscapeError display contained /\\./