authorgravatar for thejoshwolfe@gmail.comJosh Wolfe <thejoshwolfe@gmail.com> 2016-04-23 01:32:18-07:00
committergravatar for thejoshwolfe@gmail.comJosh Wolfe <thejoshwolfe@gmail.com> 2016-04-23 01:32:18-07:00
log97fae8cc85352cceabbf84bcc7481c138eb8b666
treeb48d6f79d53b14dab744086f6eec5aeb7325d6b8
parent4a7911e3eb40e590de930a07413d6254554d2de7

fix vim syntax highlighting for multiline strings


1 files changed, 2 insertions(+), 2 deletions(-)

doc/vim/syntax/zig.vim+2-2
......@@ -51,8 +51,8 @@ syn match zigEscape display contained /\\\([nrt0\\'"]\|x\x\{2}\)/
5151syn match zigEscapeUnicode display contained /\\\(u\x\{4}\|U\x\{8}\)/
5252syn match zigEscapeUnicode display contained /\\u{\x\{1,6}}/
5353syn match zigStringContinuation display contained /\\\n\s*/
54syn region zigString start=+r\?c\?"+ skip=+\\\\\|\\"+ end=+"+ contains=zigEscape,zigEscapeUnicode,zigEscapeError,zigStringContinuation,@Spell
55syn region zigString start='b\?r\z(#*\)"' end='"\z1' contains=@Spell
54syn region zigString start=+c\?"+ skip=+\\\\\|\\"+ end=+"+ contains=zigEscape,zigEscapeUnicode,zigEscapeError,zigStringContinuation,@Spell
55syn region zigString start='r"\z([^)]*\)(' end=')\z1"' contains=@Spell
5656
5757let b:current_syntax = "zig"
5858