mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 10:56:19 +04:00
Fix Zig neovim-specific queries
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
This commit is contained in:
parent
75debfeb3e
commit
e8f4ac28e9
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user