mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
Merge f88a9bafcc into c41b3b9841
This commit is contained in:
commit
bbc6fb02c9
4 changed files with 57 additions and 0 deletions
2
SUPPORTED_LANGUAGES.md
generated
2
SUPPORTED_LANGUAGES.md
generated
|
|
@ -228,6 +228,7 @@ jsx (queries only)[^jsx] | unstable | `HFIJ ` | | @steelsojka
|
|||
[purescript](https://github.com/postsolar/tree-sitter-purescript) | unstable | `H JL` | | @postsolar
|
||||
[pymanifest](https://github.com/tree-sitter-grammars/tree-sitter-pymanifest) | unstable | `H J ` | | @ObserverOfTime
|
||||
[python](https://github.com/tree-sitter/tree-sitter-python) | unstable | `HFIJL` | | @stsewd, @theHamsta
|
||||
[qf](https://github.com/OXY2DEV/tree-sitter-qf)[^qf] | unstable | `H J ` | | @OXY2DEV
|
||||
[ql](https://github.com/tree-sitter/tree-sitter-ql) | unstable | `HFIJL` | | @pwntester
|
||||
[qmldir](https://github.com/tree-sitter-grammars/tree-sitter-qmldir) | unstable | `H J ` | | @amaanq
|
||||
[qmljs](https://github.com/yuja/tree-sitter-qmljs) | unstable | `HF J ` | | @Decodetalkers
|
||||
|
|
@ -356,6 +357,7 @@ jsx (queries only)[^jsx] | unstable | `HFIJ ` | | @steelsojka
|
|||
[^php_only]: PHP without embedded HTML
|
||||
[^poe_filter]: Path of Exile item filter
|
||||
[^properties]: Java properties files
|
||||
[^qf]: Vim quickfix list
|
||||
[^query]: Tree-sitter query language
|
||||
[^sflog]: Salesforce debug log
|
||||
[^slang]: Shader Slang
|
||||
|
|
|
|||
|
|
@ -1778,6 +1778,15 @@ return {
|
|||
maintainers = { '@stsewd', '@theHamsta' },
|
||||
tier = 2,
|
||||
},
|
||||
qf = {
|
||||
install_info = {
|
||||
revision = '6a9d1deb934749720aa3bc525f1506f7d2ae4d0a',
|
||||
url = 'https://github.com/OXY2DEV/tree-sitter-qf',
|
||||
},
|
||||
maintainers = { '@OXY2DEV' },
|
||||
tier = 2,
|
||||
readme_note = 'Vim quickfix list',
|
||||
},
|
||||
ql = {
|
||||
install_info = {
|
||||
revision = '1fd627a4e8bff8c24c11987474bd33112bead857',
|
||||
|
|
|
|||
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