We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
lispoptions
lisp
1 parent 8f38c11 commit 7e90f09Copy full SHA for 7e90f09
1 file changed
indent/clojure.vim
@@ -313,7 +313,11 @@ function! s:ClojureIndent()
313
endif
314
endfunction
315
316
-" TODO: setl lisp lispoptions=expr:1 if exists. "has('patch-9.0.0761')"
+" Connect indentation function.
317
+if exists('&lispoptions')
318
+ setlocal lisp lispoptions=expr:1
319
+ let b:undo_indent .= ' lispoptions<'
320
+endif
321
setlocal indentexpr=s:ClojureIndent()
322
323
let &cpoptions = s:save_cpo
0 commit comments