summaryrefslogtreecommitdiffstats
path: root/runtime/indent/matlab.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-10-04 21:32:54 +0100
committerBram Moolenaar <Bram@vim.org>2021-10-04 21:32:54 +0100
commit6e649224926bbc1df6a4fdfa7a96b4acb1f8bee0 (patch)
treedb66acf9f47e727e0a1dd5eee189bdcc6229e06a /runtime/indent/matlab.vim
parent78aa5ffe314f40d33666f03b833f66b11c3d0f67 (diff)
Update runtime files
Diffstat (limited to 'runtime/indent/matlab.vim')
-rw-r--r--runtime/indent/matlab.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/indent/matlab.vim b/runtime/indent/matlab.vim
index 6390445c60..10d84602af 100644
--- a/runtime/indent/matlab.vim
+++ b/runtime/indent/matlab.vim
@@ -2,6 +2,7 @@
" Language: MATLAB
" Maintainer: Axel Forsman <axelsfor@gmail.com>
" Previous maintainer: Christophe Poucet <christophe.poucet@pandora.be>
+" Last Update: 2021-10-01
" Only load if no other indent file is loaded
if exists('b:did_indent') | finish | endif
@@ -9,6 +10,7 @@ let b:did_indent = 1
setlocal indentexpr=GetMatlabIndent()
setlocal indentkeys=!,o,O,e,0=end,0=elseif,0=case,0=otherwise,0=catch,0=function,0=elsei
+let b:undo_indent = "setlocal indentexpr< indentkeys<"
" The value of the Function indenting format in
" MATLAB Editor/Debugger Language Preferences.