summaryrefslogtreecommitdiffstats
path: root/runtime/indent/haml.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-03-19 15:18:53 +0000
committerBram Moolenaar <Bram@vim.org>2022-03-19 15:18:53 +0000
commit47c532e2bc55e8a48f7f47e1fae1ed30144f2fa1 (patch)
tree11fb0e3e2b944668fc416d816298badc8211d013 /runtime/indent/haml.vim
parent36a5b6867bb6c0bd69c8da7d788000ab8a0b0ab0 (diff)
Update runtime files
Diffstat (limited to 'runtime/indent/haml.vim')
-rw-r--r--runtime/indent/haml.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/indent/haml.vim b/runtime/indent/haml.vim
index baca1d49d9..acd99d9c7d 100644
--- a/runtime/indent/haml.vim
+++ b/runtime/indent/haml.vim
@@ -1,7 +1,7 @@
" Vim indent file
" Language: Haml
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
-" Last Change: 2019 Dec 05
+" Last Change: 2022 Mar 15
if exists("b:did_indent")
finish
@@ -14,6 +14,8 @@ setlocal autoindent
setlocal indentexpr=GetHamlIndent()
setlocal indentkeys=o,O,*<Return>,},],0),!^F,=end,=else,=elsif,=rescue,=ensure,=when
+let b:undo_indent = "setl ai< inde< indk<"
+
" Only define the function once.
if exists("*GetHamlIndent")
finish