mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 15:30:01 -04:00
feat: add qmldir
This commit is contained in:
parent
3fe80dbecd
commit
ba4ecfe471
4 changed files with 29 additions and 0 deletions
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue