mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 21:40:03 -04:00
Merge f88a9bafcc into c41b3b9841
This commit is contained in:
commit
bbc6fb02c9
4 changed files with 57 additions and 0 deletions
38
runtime/queries/qf/highlights.scm
Normal file
38
runtime/queries/qf/highlights.scm
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
[
|
||||
"|"
|
||||
"-"
|
||||
] @punctuation.delimiter
|
||||
|
||||
(filename) @string.special.path
|
||||
|
||||
(row
|
||||
[
|
||||
(value)
|
||||
(from)
|
||||
(to)
|
||||
] @number)
|
||||
|
||||
"col" @keyword
|
||||
|
||||
(col
|
||||
[
|
||||
(value)
|
||||
(from)
|
||||
(to)
|
||||
] @number)
|
||||
|
||||
((item_type) @comment.error
|
||||
(#eq? @comment.error "error"))
|
||||
|
||||
((item_type) @comment.warning
|
||||
(#eq? @comment.warning "warning"))
|
||||
|
||||
((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 ""))
|
||||
8
runtime/queries/qf/injections.scm
Normal file
8
runtime/queries/qf/injections.scm
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
; Automatic language(slightly inaccurate).
|
||||
; filename.lua | 10 col 5 | local value = 10;
|
||||
(quickfix_item
|
||||
(filename) @injection.filename
|
||||
(range)
|
||||
(code_block
|
||||
.
|
||||
(content) @injection.content .))
|
||||
Loading…
Add table
Add a link
Reference in a new issue