nvim-treesitter/queries/slint/indents.scm
Tobias Hunger 0f3183dda8
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>
2024-02-09 13:46:57 +00:00

26 lines
327 B
Scheme

[
(arguments)
(block)
(enum_block)
(global_block)
(imperative_block)
(struct_block)
(typed_identifier)
] @indent.begin
([
(block)
(enum_block)
(global_block)
(imperative_block)
(struct_block)
]
"}" @indent.end)
([
(arguments)
(typed_identifier)
]
")" @indent.end)
(string_value) @indent.auto