feat: add qmldir

This commit is contained in:
Amaan Qureshi
2023-03-01 01:23:52 -05:00
parent 3fe80dbecd
commit ba4ecfe471
4 changed files with 29 additions and 0 deletions

View File

@@ -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)

View File

@@ -344,6 +344,9 @@
"ql": {
"revision": "bd087020f0d8c183080ca615d38de0ec827aeeaf"
},
"qmldir": {
"revision": "ce42c9abb9b86a563f117d733b3bc0dd7e2e6e76"
},
"qmljs": {
"revision": "ab75be9750e6f2f804638824d1790034286a830c"
},

View 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

View File

@@ -0,0 +1 @@
(comment) @comment