mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 04:10:06 -04:00
feat(slint)!: change to the official parser (#6027)
This change replaces the slint parser written and maintained by @jrmoulton with the official one hosted in the slint-ui organization on github. A huge thank you to @jrmoulton for all his work on the tree-sitter parser! --------- Co-authored-by: jrmoulton <jaredmoulton3@gmail.com>
This commit is contained in:
parent
f0d43eff13
commit
0f3183dda8
9 changed files with 401 additions and 156 deletions
|
|
@ -1,14 +1,26 @@
|
|||
[
|
||||
(comp_body)
|
||||
(state_statement)
|
||||
(transition_statement)
|
||||
(handler_body)
|
||||
(consequence_body)
|
||||
(global_single)
|
||||
(arguments)
|
||||
(block)
|
||||
(enum_block)
|
||||
(global_block)
|
||||
(imperative_block)
|
||||
(struct_block)
|
||||
(typed_identifier)
|
||||
] @indent.begin
|
||||
|
||||
"}" @indent.end
|
||||
([
|
||||
(block)
|
||||
(enum_block)
|
||||
(global_block)
|
||||
(imperative_block)
|
||||
(struct_block)
|
||||
]
|
||||
"}" @indent.end)
|
||||
|
||||
(comment) @indent.auto
|
||||
([
|
||||
(arguments)
|
||||
(typed_identifier)
|
||||
]
|
||||
")" @indent.end)
|
||||
|
||||
(string_literal) @indent.auto
|
||||
(string_value) @indent.auto
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue