branch: externals/matlab-mode
commit 8ea0747f1c61297abe50c8b53790d741168829d1
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>
matlab-ts-mode: add skipped test for matlab tree-sitter issue117
---
...indent_line_cont_unary_in_cell_or_mat_issue117.m | 21 +++++++++++++++++++++
...line_cont_unary_in_cell_or_mat_issue117.skip.txt | 1 +
2 files changed, 22 insertions(+)
diff --git
a/tests/test-matlab-ts-mode-indent-files/indent_line_cont_unary_in_cell_or_mat_issue117.m
b/tests/test-matlab-ts-mode-indent-files/indent_line_cont_unary_in_cell_or_mat_issue117.m
new file mode 100644
index 0000000000..07e3b9480d
--- /dev/null
+++
b/tests/test-matlab-ts-mode-indent-files/indent_line_cont_unary_in_cell_or_mat_issue117.m
@@ -0,0 +1,21 @@
+% -*- matlab-ts -*-
+
+% See https://github.com/acristoffers/tree-sitter-matlab/issues/117
+
+m1 = [-100 -200...
+ -300];
+
+c1 = {-100 -200...
+ -300};
+
+m1 = [-100 -200 ...
+ -300];
+
+c1 = {-100 -200 ...
+ -300};
+
+m1 = [-100 -200,...
+ -300];
+
+c1 = {-100 -200,...
+ -300};
diff --git
a/tests/test-matlab-ts-mode-indent-files/indent_line_cont_unary_in_cell_or_mat_issue117.skip.txt
b/tests/test-matlab-ts-mode-indent-files/indent_line_cont_unary_in_cell_or_mat_issue117.skip.txt
new file mode 100644
index 0000000000..9f0d023f04
--- /dev/null
+++
b/tests/test-matlab-ts-mode-indent-files/indent_line_cont_unary_in_cell_or_mat_issue117.skip.txt
@@ -0,0 +1 @@
+See https://github.com/acristoffers/tree-sitter-matlab/issues/117