aboutsummaryrefslogtreecommitdiff
path: root/runtime/indent/elm.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/indent/elm.vim')
-rw-r--r--runtime/indent/elm.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/indent/elm.vim b/runtime/indent/elm.vim
index 232c347c66..7b08de7126 100644
--- a/runtime/indent/elm.vim
+++ b/runtime/indent/elm.vim
@@ -4,7 +4,7 @@
" Original Author: Joseph Hager <ajhager@gmail.com>
" Copyright: Joseph Hager <ajhager@gmail.com>
" License: BSD3
-" Latest Revision: 2020-05-29
+" Latest Revision: 2021-09-29
" Only load this indent file when no other was loaded.
if exists('b:did_indent')
@@ -19,6 +19,8 @@ setlocal indentkeys+=0=else,0=if,0=of,0=import,0=then,0=type,0\|,0},0\],0),=-},0
setlocal nolisp
setlocal nosmartindent
+let b:undo_indent = "setl et< inde< indk< lisp< si<"
+
" Only define the function once.
if exists('*GetElmIndent')
finish