From 367ccc1c64249cc1b3be8a254cdf087beaf56e5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lan=20Cr=C3=ADstoffer?= Date: Mon, 13 Jan 2025 14:43:02 +0100 Subject: [PATCH] Fix a bug in matlab indentation and updates the grammar commit hash to latest (#12518) --- languages.toml | 2 +- runtime/queries/matlab/indents.scm | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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)