Skip to content

Commit

Permalink
indent: Set b:undo_indent
Browse files Browse the repository at this point in the history
See :help undo_indent for details.
  • Loading branch information
dkearns committed Sep 24, 2021
1 parent 7657218 commit 56d22d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions indent/scala.vim
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ setlocal autoindent
setlocal indentexpr=GetScalaIndent()
setlocal indentkeys=0{,0},0),!^F,<>>,o,O,e,=case,<CR>

let b:undo_indent = "setl ai< inde< indk<"

if exists("*GetScalaIndent")
finish
endif
Expand Down

0 comments on commit 56d22d6

Please sign in to comment.