Fix Zig neovim-specific queries

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
This commit is contained in:
Khang Nguyen Duy 2024-11-07 22:27:46 +07:00 committed by Khang Nguyen Duy
parent 75debfeb3e
commit e8f4ac28e9

View File

@ -1,7 +1,7 @@
; Comments ; Comments
((comment) @comment.block.documentation ((comment) @comment.block.documentation
(#lua-match? @comment.block.documentation "^//!")) (#match? @comment.block.documentation "^//!"))
(comment) @comment.line (comment) @comment.line
@ -31,11 +31,10 @@
(character) @constant.character (character) @constant.character
([ [
(string) (string)
(multiline_string) (multiline_string)
] @string ] @string
(#set! "priority" 95))
(integer) @constant.numeric.integer (integer) @constant.numeric.integer
@ -246,7 +245,7 @@
; Constants ; Constants
((identifier) @constant ((identifier) @constant
(#lua-match? @constant "^[A-Z][A-Z_0-9]+$")) (#match? @constant "^[A-Z][A-Z_0-9]+$"))
[ [
"null" "null"