mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 12:06:55 -04:00
fix(parsers): Updated qf query files
- Adds highlighting for new node(s). - Removes non-standard injection rule.
This commit is contained in:
parent
57657a3507
commit
3ff8adb2bb
2 changed files with 24 additions and 19 deletions
|
|
@ -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 ""))
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue