fix(parsers): Updated qf query files

- Adds highlighting for new node(s).
- Removes non-standard injection rule.
This commit is contained in:
Shawon 2025-05-29 08:29:48 +06:00
parent 57657a3507
commit 3ff8adb2bb
2 changed files with 24 additions and 19 deletions

View file

@ -1,20 +1,25 @@
"|" @punctuation.delimiter
"col" @keyword
[
(row)
(col)
] @number
"|"
"-"
] @punctuation.delimiter
(filename) @string.special.path
((code_block) @markup.raw.block
(#set! priority 90))
(row
[
(value)
(from)
(to)
] @number)
(code_block
(language_delimiter) @markup.raw.block
(#set! conceal ""))
"col" @keyword
(col
[
(value)
(from)
(to)
] @number)
((item_type) @comment.error
(#eq? @comment.error "error"))
@ -24,3 +29,10 @@
((item_type) @comment.note
(#eq? @comment.note "note"))
((code_block) @markup.raw.block
(#set! priority 90))
(code_block
(language_delimiter) @markup.raw.block
(#set! conceal ""))

View file

@ -1,10 +1,3 @@
; Specified language.
; filename.lua | 10 col 5 | >!lua!< local value = 10;
(code_block
(language_delimiter) @injection.language
(content) @injection.content
(#offset! @injection.language 0 2 0 -2))
; Automatic language(slightly inaccurate).
; filename.lua | 10 col 5 | local value = 10;
(quickfix_item