summaryrefslogtreecommitdiffstats
path: root/runtime/indent/config.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/config.vim
parent78aa5ffe314f40d33666f03b833f66b11c3d0f67 (diff)
Update runtime files
Diffstat (limited to 'runtime/indent/config.vim')
-rw-r--r--runtime/indent/config.vim13
1 files changed, 8 insertions, 5 deletions
diff --git a/runtime/indent/config.vim b/runtime/indent/config.vim
index c987a78d64..b840b1e391 100644
--- a/runtime/indent/config.vim
+++ b/runtime/indent/config.vim
@@ -1,9 +1,10 @@
" Vim indent file
-" Language: Autoconf configure.{ac,in} file
-" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
-" Latest Revision: 2006-12-20
-" TODO: how about nested [()]'s in one line
-" what's wrong with '\\\@!'?
+" Language: Autoconf configure.{ac,in} file
+" Maintainer: Doug Kearns <dougkearns@gmail.com>
+" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
+" Last Change: 24 Sep 2021
+
+" TODO: how about nested [()]'s in one line what's wrong with '\\\@!'?
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
@@ -16,6 +17,8 @@ setlocal indentexpr=GetConfigIndent()
setlocal indentkeys=!^F,o,O,=then,=do,=else,=elif,=esac,=fi,=fin,=fil,=done
setlocal nosmartindent
+let b:undo_indent = "setl inde< indk< si<"
+
" Only define the function once.
if exists("*GetConfigIndent")
finish