mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-18 01:39:00 +00:00
feat: add qmldir
This commit is contained in:
@@ -288,6 +288,7 @@ We are looking for maintainers to add more parsers and to write query files for
|
||||
- [x] [pug](https://github.com/zealot128/tree-sitter-pug) (experimental, maintained by @zealot128)
|
||||
- [x] [python](https://github.com/tree-sitter/tree-sitter-python) (maintained by @stsewd, @theHamsta)
|
||||
- [x] [ql](https://github.com/tree-sitter/tree-sitter-ql) (maintained by @pwntester)
|
||||
- [x] [qmldir](https://github.com/Decodetalkers/tree-sitter-qmldir) (maintained by @amaanq)
|
||||
- [x] [qmljs](https://github.com/yuja/tree-sitter-qmljs) (maintained by @Decodetalkers)
|
||||
- [x] [Tree-sitter query language](https://github.com/nvim-treesitter/tree-sitter-query) (maintained by @steelsojka)
|
||||
- [x] [r](https://github.com/r-lib/tree-sitter-r) (maintained by @echasnovski)
|
||||
|
||||
@@ -344,6 +344,9 @@
|
||||
"ql": {
|
||||
"revision": "bd087020f0d8c183080ca615d38de0ec827aeeaf"
|
||||
},
|
||||
"qmldir": {
|
||||
"revision": "ce42c9abb9b86a563f117d733b3bc0dd7e2e6e76"
|
||||
},
|
||||
"qmljs": {
|
||||
"revision": "ab75be9750e6f2f804638824d1790034286a830c"
|
||||
},
|
||||
|
||||
24
queries/qmldir/highlights.scm
Normal file
24
queries/qmldir/highlights.scm
Normal file
@@ -0,0 +1,24 @@
|
||||
; Preproc
|
||||
|
||||
(command (identifier) @preproc)
|
||||
|
||||
; Keywords
|
||||
|
||||
(keyword) @keyword
|
||||
|
||||
; Literals
|
||||
|
||||
(number) @number
|
||||
|
||||
(float) @float
|
||||
|
||||
; Variables
|
||||
|
||||
[
|
||||
(identifier)
|
||||
(unit)
|
||||
] @variable
|
||||
|
||||
; Comments
|
||||
|
||||
(comment) @comment @spell
|
||||
1
queries/qmldir/injections.scm
Normal file
1
queries/qmldir/injections.scm
Normal file
@@ -0,0 +1 @@
|
||||
(comment) @comment
|
||||
Reference in New Issue
Block a user