Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.

Commit b30e6f8

Browse files
baskervillehaze
authored andcommitted
Let the multiline string delimiter be a delimiter
I find the current behavior slightly confusing: while browsing Zig's standard library, I found myself wondering how a certain chunk of code could compile (it looked as if a raw JSON object was passed as argument to a function), only to realize I was looking at a string, and that the multiline string delimiter was hidden! Also, quoting `:h hl-Ignore`: When using the Ignore group, you may also consider using the conceal mechanism.
1 parent 0adf3a1 commit b30e6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/zig.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ highlight default link zigStringDelimiter Delimiter
254254
highlight default link zigMultilineString String
255255
highlight default link zigMultilineStringContent String
256256
highlight default link zigMultilineStringPrefix String
257-
highlight default link zigMultilineStringDelimiter Ignore
257+
highlight default link zigMultilineStringDelimiter Delimiter
258258
highlight default link zigCharacterInvalid Error
259259
highlight default link zigCharacterInvalidUnicode zigCharacterInvalid
260260
highlight default link zigCharacter Character

0 commit comments

Comments
 (0)