Skip to content

Commit e16e2a1

Browse files
committed
correctly highlight @"" identifiers
credit - ziglang@269048b
1 parent 9575f92 commit e16e2a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

syntax/zig.vim

+3
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,9 @@ syntax match zigEscapeError display contained /\\./
249249
syntax match zigEscape display contained /\\\([nrt\\'"]\|x\x\{2}\)/
250250
syntax match zigEscapeUnicode display contained /\\\(u\x\{4}\|U\x\{6}\)/
251251

252+
" Identifiers using the @"" syntax.
253+
syntax match zigIdentifierSpecial +@".*"+ display
254+
252255
highlight default link zigDecNumber zigNumber
253256
highlight default link zigHexNumber zigNumber
254257
highlight default link zigOctNumber zigNumber

0 commit comments

Comments
 (0)