summaryrefslogtreecommitdiff
path: root/runtime/indent/nsis.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-10-23 12:08:41 +0100
committerBram Moolenaar <Bram@vim.org>2021-10-23 12:08:41 +0100
commit079ba76ae7a7d0ef404cb9b41dff2663ff41f51b (patch)
tree975998b23597d8317debcd6c6ffc3fda5185a6d0 /runtime/indent/nsis.vim
parent06ca48a40f049f20347c9630a180457d1f1aece5 (diff)
downloadvim-git-079ba76ae7a7d0ef404cb9b41dff2663ff41f51b.tar.gz
Update runtime files
Diffstat (limited to 'runtime/indent/nsis.vim')
-rw-r--r--runtime/indent/nsis.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/indent/nsis.vim b/runtime/indent/nsis.vim
index 223f4fa28..5d3decca3 100644
--- 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