f09d2bc56b
<https://slint-ui.com/> lsp: <https://github.com/slint-ui/slint/tree/HEAD/tools/lsp> tree-sitter-slint: <https://github.com/jrmoulton/tree-sitter-slint>
30 lines
327 B
Scheme
30 lines
327 B
Scheme
|
|
; [
|
|
; (struct_definition)
|
|
; (component_definition)
|
|
; ] @indent
|
|
|
|
[
|
|
(field_declaration_list_body)
|
|
(list_definition_body)
|
|
(struct_field_declaration_list_body)
|
|
] @indent
|
|
|
|
; [
|
|
; "{"
|
|
; "}"
|
|
; "("
|
|
; ")"
|
|
; (if_statement)
|
|
; "else if"
|
|
; "else"
|
|
; ] @branch
|
|
|
|
; "{" @indent
|
|
"}" @indent_end
|
|
|
|
(comment) @auto
|
|
|
|
(string) @auto
|
|
|