From 56d22d6a4d53a23bec2f22d80e328ee1b6a65dd8 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sat, 25 Sep 2021 01:09:40 +1000 Subject: [PATCH] indent: Set b:undo_indent See :help undo_indent for details. --- indent/scala.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indent/scala.vim b/indent/scala.vim index 7dcff8a..cff585e 100644 --- a/indent/scala.vim +++ b/indent/scala.vim @@ -13,6 +13,8 @@ setlocal autoindent setlocal indentexpr=GetScalaIndent() setlocal indentkeys=0{,0},0),!^F,<>>,o,O,e,=case, +let b:undo_indent = "setl ai< inde< indk<" + if exists("*GetScalaIndent") finish endif