Unnamed repository; edit this file 'description' to name the repository.
Fix a bug in matlab indentation and updates the grammar commit hash to latest (#12518)
Álan Crístoffer 2025-01-13
parent e01775a · commit 367ccc1
-rw-r--r--languages.toml2
-rw-r--r--runtime/queries/matlab/indents.scm1
2 files changed, 2 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index a83a6f0d..01841727 100644
--- a/languages.toml
+++ b/languages.toml
@@ -2900,7 +2900,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "matlab"
-source = { git = "https://github.com/acristoffers/tree-sitter-matlab", rev = "6071891a8c39600203eba20513666cf93b4d650a" }
+source = { git = "https://github.com/acristoffers/tree-sitter-matlab", rev = "b0a0198b182574cd3ca0447264c83331901b9338" }
[[language]]
name = "ponylang"
diff --git a/runtime/queries/matlab/indents.scm b/runtime/queries/matlab/indents.scm
index b2a8e55d..4aacccd8 100644
--- a/runtime/queries/matlab/indents.scm
+++ b/runtime/queries/matlab/indents.scm
@@ -1,4 +1,5 @@
[
+ (arguments_statement)
(if_statement)
(for_statement)
(while_statement)