From 9b9c18b78d52bb007488682208626eeb982c0f80 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Fri, 24 Sep 2021 09:00:18 -0400 Subject: [PATCH] Add missing b:undo_indent --- indent/haml.vim | 2 ++ indent/sass.vim | 2 ++ 2 files changed, 4 insertions(+) diff --git a/indent/haml.vim b/indent/haml.vim index 7613fae..b97e13b 100644 --- a/indent/haml.vim +++ b/indent/haml.vim @@ -14,6 +14,8 @@ setlocal autoindent setlocal indentexpr=GetHamlIndent() setlocal indentkeys=o,O,*,},],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 diff --git a/indent/sass.vim b/indent/sass.vim index d6dbf3a..d337af0 100644 --- a/indent/sass.vim +++ b/indent/sass.vim @@ -12,6 +12,8 @@ setlocal autoindent sw=2 et setlocal indentexpr=GetSassIndent() setlocal indentkeys=o,O,*,<:>,!^F +let b:undo_indent = "setl ai< inde< indk<" + " Only define the function once. if exists("*GetSassIndent") finish