diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-24 20:48:01 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-27 09:21:31 -0400 |
commit | d227c22f00db4c3688fbc83266fa43f0adf992cc (patch) | |
tree | 17ba865d581069a51aea59b3284e027eeaa08d90 /runtime/indent/testdir | |
parent | 527d108223e50c3fab034b582c102475b16c016e (diff) | |
download | rneovim-d227c22f00db4c3688fbc83266fa43f0adf992cc.tar.gz rneovim-d227c22f00db4c3688fbc83266fa43f0adf992cc.tar.bz2 rneovim-d227c22f00db4c3688fbc83266fa43f0adf992cc.zip |
vim-patch:32b364fcc097
Runtime file updates.
https://github.com/vim/vim/commit/32b364fcc09749f35adb441b81291e1e5946dbc2
Diffstat (limited to 'runtime/indent/testdir')
-rw-r--r-- | runtime/indent/testdir/matlab.in | 9 | ||||
-rw-r--r-- | runtime/indent/testdir/matlab.ok | 9 | ||||
-rw-r--r-- | runtime/indent/testdir/runtest.vim | 1 |
3 files changed, 19 insertions, 0 deletions
diff --git a/runtime/indent/testdir/matlab.in b/runtime/indent/testdir/matlab.in index 5bba1a56dd..b997ec8d57 100644 --- a/runtime/indent/testdir/matlab.in +++ b/runtime/indent/testdir/matlab.in @@ -37,6 +37,7 @@ end % START_INDENT if true A(1:end - 1) +C{1:end - 1} disp foo end % END_INDENT @@ -50,6 +51,14 @@ disp bar % END_INDENT % START_INDENT +if true +% end +%% end +disp foo +end +% END_INDENT + +% START_INDENT % INDENT_EXE let b:MATLAB_function_indent = 0 function foo disp foo diff --git a/runtime/indent/testdir/matlab.ok b/runtime/indent/testdir/matlab.ok index b1112263b2..df4e7b2e33 100644 --- a/runtime/indent/testdir/matlab.ok +++ b/runtime/indent/testdir/matlab.ok @@ -37,6 +37,7 @@ end % START_INDENT if true A(1:end - 1) + C{1:end - 1} disp foo end % END_INDENT @@ -50,6 +51,14 @@ disp bar % END_INDENT % START_INDENT +if true + % end + %% end + disp foo +end +% END_INDENT + +% START_INDENT % INDENT_EXE let b:MATLAB_function_indent = 0 function foo disp foo diff --git a/runtime/indent/testdir/runtest.vim b/runtime/indent/testdir/runtest.vim index 945c2753e9..6bbd33cacd 100644 --- a/runtime/indent/testdir/runtest.vim +++ b/runtime/indent/testdir/runtest.vim @@ -117,6 +117,7 @@ for fname in glob('testdir/*.in', 1, 1) echoerr 'Test ' . fname . ' FAILED!' else exe 'write ' . root . '.out' + echo "Test " . fname . " OK\n" endif quit! " close the indented file |