Skip to content

Commit

Permalink
Update slint
Browse files Browse the repository at this point in the history
  • Loading branch information
flukejones committed Mar 10, 2024
1 parent a4fec4f commit 47b13d0
Show file tree
Hide file tree
Showing 6 changed files with 387 additions and 143 deletions.
2 changes: 1 addition & 1 deletion lapce-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ tree-sitter-json = { git = "https://github.com/tree-sitter/tree-sitter-json.git"
tree-sitter-md = { git = "https://github.com/MDeiml/tree-sitter-markdown.git", rev = "272e080bca0efd19a06a7f4252d746417224959e", optional = true }
tree-sitter-python = { version = "0.20.4", optional = true }
tree-sitter-rust = { version = "0.20.4", optional = true }
tree-sitter-slint = { git = "https://github.com/jrmoulton/tree-sitter-slint.git", rev = "00c8a2d3645766f68c0d0460086c0a994e5b0d85", optional = true }
tree-sitter-slint = { git = "https://github.com/slint-ui/tree-sitter-slint.git", optional = true }
tree-sitter-toml = { version = "0.20.0", optional = true }
tree-sitter-yaml = { git = "https://github.com/panekj/tree-sitter-yaml", rev = "80c8d76847f03e772c5c524cf29bafb56858a8d1", optional = true }

Expand Down
11 changes: 11 additions & 0 deletions lapce-core/queries/slint/folds.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
(anon_struct_block)
(block)
(callback_event)
(component)
(enum_block)
(function_definition)
(global_definition)
(imperative_block)
(struct_block)
] @fold

0 comments on commit 47b13d0

Please sign in to comment.