diff runtime/indent/matlab.vim @ 25880:9c221ad9634a

Update runtime files Commit: https://github.com/vim/vim/commit/6e649224926bbc1df6a4fdfa7a96b4acb1f8bee0 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Oct 4 21:32:54 2021 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Mon, 04 Oct 2021 22:45:05 +0200
parents a0e0f0256d0b
children
line wrap: on
line diff
--- 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.