summaryrefslogtreecommitdiffstats
path: root/runtime/indent
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-11-25 03:56:26 +0100
committerBram Moolenaar <Bram@vim.org>2018-11-25 03:56:26 +0100
commitb730f0c7ba36492d795f081b19bbcb85cdf0f50f (patch)
treec79ec98f6dc1b761e1e0c9295d40ce8cb39c73f8 /runtime/indent
parent916a818cea5ba05a5f2117407674461b8bee6832 (diff)
Update runtime files
Diffstat (limited to 'runtime/indent')
-rw-r--r--runtime/indent/testdir/matlab.in17
-rw-r--r--runtime/indent/testdir/matlab.ok17
2 files changed, 34 insertions, 0 deletions
diff --git a/runtime/indent/testdir/matlab.in b/runtime/indent/testdir/matlab.in
new file mode 100644
index 0000000000..1a2bc83d4b
--- /dev/null
+++ b/runtime/indent/testdir/matlab.in
@@ -0,0 +1,17 @@
+% vim: set ft=matlab sw=4 :
+
+% START_INDENT
+if true
+disp foo
+elseif false
+disp bar
+end
+% END_INDENT
+
+% START_INDENT
+try
+statements
+catch exception
+statements
+end
+% END_INDENT
diff --git a/runtime/indent/testdir/matlab.ok b/runtime/indent/testdir/matlab.ok
new file mode 100644
index 0000000000..88e1d86b06
--- /dev/null
+++ b/runtime/indent/testdir/matlab.ok
@@ -0,0 +1,17 @@
+% vim: set ft=matlab sw=4 :
+
+% START_INDENT
+if true
+ disp foo
+elseif false
+ disp bar
+end
+% END_INDENT
+
+% START_INDENT
+try
+ statements
+catch exception
+ statements
+end
+% END_INDENT