Meikel Brandmeyer  committed 403e406

Made indent to be conditional on the availability of searchpairpos

  • Participants
  • Parent commits 1a8dd15

Comments (0)

Files changed (1)

File indent/clojure.vim

 setlocal softtabstop=2
 setlocal shiftwidth=2
+if exists("*searchpairpos")
 function! s:MatchPairs(open, close, stopat)
 	let c = getpos(".")
 	return ind
 setlocal indentexpr=GetClojureIndent()
+	setlocal indentexpr=
+	setlocal lisp
+	let b:undo_indent = b:undo_indent . " lisp<"
 setlocal indentkeys=!,o,O
 " Defintions: