branch: externals/matlab-mode
commit 5929268ab8fc5083400d6b8229d5b07a189ef31e
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>
matlab-ts-mode: add disabled test case for continuation issue 75
---
.../font_lock_continuation_cell_issue75.m | 15 +++++++++++++++
.../font_lock_continuation_cell_issue75.skip.txt | 1 +
2 files changed, 16 insertions(+)
diff --git
a/tests/test-matlab-ts-mode-font-lock-files/font_lock_continuation_cell_issue75.m
b/tests/test-matlab-ts-mode-font-lock-files/font_lock_continuation_cell_issue75.m
new file mode 100644
index 0000000000..70d78f0419
--- /dev/null
+++
b/tests/test-matlab-ts-mode-font-lock-files/font_lock_continuation_cell_issue75.m
@@ -0,0 +1,15 @@
+% -*- matlab-ts -*-
+
+% See https://github.com/acristoffers/tree-sitter-matlab/issues/75
+%
https://www.mathworks.com/help/matlab/matlab_prog/command-vs-function-syntax.html
+
+c1 ...
+ = ...
+ { ...
+ 'b'; ...
+ };
+
+c2 = ...
+ { ...
+ 'b'; ...
+ };
diff --git
a/tests/test-matlab-ts-mode-font-lock-files/font_lock_continuation_cell_issue75.skip.txt
b/tests/test-matlab-ts-mode-font-lock-files/font_lock_continuation_cell_issue75.skip.txt
new file mode 100644
index 0000000000..f865fda054
--- /dev/null
+++
b/tests/test-matlab-ts-mode-font-lock-files/font_lock_continuation_cell_issue75.skip.txt
@@ -0,0 +1 @@
+See https://github.com/acristoffers/tree-sitter-matlab/issues/75