diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-09-18 13:04:22 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-18 13:04:22 +0100 |
commit | 9712ff1288f942736ed76c0dec014909f067eec9 (patch) | |
tree | d3db95b26eb5606d89a711571055ceceee7c52e3 /runtime/indent/lua.vim | |
parent | 65ee49decf5677690cd695d5d288e39344965fff (diff) |
Update runtime files
Diffstat (limited to 'runtime/indent/lua.vim')
-rw-r--r-- | runtime/indent/lua.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/indent/lua.vim b/runtime/indent/lua.vim index 604cd333c9..0d1f934a03 100644 --- a/runtime/indent/lua.vim +++ b/runtime/indent/lua.vim @@ -3,6 +3,7 @@ " Maintainer: Marcus Aurelius Farias <marcus.cf 'at' bol.com.br> " First Author: Max Ischenko <mfi 'at' ukr.net> " Last Change: 2017 Jun 13 +" 2022 Sep 07: b:undo_indent added by Doug Kearns " Only load this indent file when no other was loaded. if exists("b:did_indent") @@ -18,6 +19,8 @@ setlocal indentkeys+=0=end,0=until setlocal autoindent +let b:undo_indent = "setlocal autoindent< indentexpr< indentkeys<" + " Only define the function once. if exists("*GetLuaIndent") finish |