diff runtime/indent/nsis.vim @ 26050:ebedba7a4898

Update runtime files Commit: https://github.com/vim/vim/commit/079ba76ae7a7d0ef404cb9b41dff2663ff41f51b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 23 12:08:41 2021 +0100 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sat, 23 Oct 2021 13:15:06 +0200
parents 371ceeebbdaa
children d46f974fd69e
line wrap: on
line diff
--- a/runtime/indent/nsis.vim
+++ b/runtime/indent/nsis.vim
@@ -2,7 +2,7 @@
 " Language:		NSIS script
 " Maintainer:		Ken Takata
 " URL:			https://github.com/k-takata/vim-nsis
-" Last Change:		2018-01-21
+" Last Change:		2021-10-18
 " Filenames:		*.nsi
 " License:		VIM License
 
@@ -17,6 +17,8 @@ setlocal indentexpr=GetNsisIndent(v:lnum
 setlocal indentkeys=!^F,o,O
 setlocal indentkeys+==~${Else,=~${EndIf,=~${EndUnless,=~${AndIf,=~${AndUnless,=~${OrIf,=~${OrUnless,=~${Case,=~${Default,=~${EndSelect,=~${EndSwith,=~${Loop,=~${Next,=~${MementoSectionEnd,=~FunctionEnd,=~SectionEnd,=~SectionGroupEnd,=~PageExEnd,0=~!macroend,0=~!if,0=~!else,0=~!endif
 
+let b:undo_indent = "setl ai< inde< indk< si<"
+
 if exists("*GetNsisIndent")
   finish
 endif