mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
Add slint parser configuration and queries (#2598)
* Add slint parser * Mark slint as experimental * Remove filetype and add slint to the lockfile * Update queries * Update varibable.builtin's and repeats * Update slint true false * Change export back to keyword * Change export back to include :)
This commit is contained in:
parent
444525d386
commit
cc4f373bb4
4 changed files with 141 additions and 0 deletions
13
queries/slint/indents.scm
Normal file
13
queries/slint/indents.scm
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
[
|
||||
(field_declaration_list_body)
|
||||
(list_definition_body)
|
||||
(struct_field_declaration_list_body)
|
||||
] @indent
|
||||
|
||||
"}" @indent_end
|
||||
|
||||
(comment) @auto
|
||||
|
||||
(string) @auto
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue