Skip to content

Commit b1924f6

Browse files
committed
Expand abbreviations in b:undo_indent
1 parent cfe6006 commit b1924f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

indent/clojure.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let b:did_indent = 1
1616
let s:save_cpo = &cpo
1717
set cpo&vim
1818

19-
let b:undo_indent = "setlocal ai< si< lw< et< sts< sw< inde< indk<"
19+
let b:undo_indent = 'setlocal autoindent< smartindent< lispwords< expandtab< softtabstop< shiftwidth< indentexpr< indentkeys<'
2020

2121
setlocal noautoindent expandtab nosmartindent
2222

@@ -301,7 +301,7 @@ else
301301
" normal lisp indenting.
302302
setlocal indentexpr=
303303
setlocal lisp
304-
let b:undo_indent .= " lisp<"
304+
let b:undo_indent .= '| setlocal lisp<'
305305

306306
endif
307307

0 commit comments

Comments
 (0)