Meikel Brandmeyer  committed 9e9f555

Fixed bug with indentexpr

If another plugin already sets indentexpr, eg. because the clojure filetype
is set via a modeline, it conflicts with our indent settings. Therefore clear
the indentexpr.

  • Participants
  • Parent commits 33c7a69
  • Branches default

Comments (0)

Files changed (2)

File indent/clojure.vim

 let b:undo_indent = "setlocal ai< si< lisp< lw< et<"
 setlocal autoindent lisp expandtab nosmartindent
+" If a previously loaded indent plugin set this, we are in trouble.
+setlocal indentexpr=
 " Defintions:
 setlocal lispwords=def,defn,defn-,defmacro,defmethod,let,fn,binding
   version.txt -- Version Information for vimclojure (syntax: Text)
   [automatically generated and maintained by GNU shtool]
-  This is vimclojure, Version 1.0.0 (24-Jun-2008)
+  This is vimclojure, Version 1.0.3 (07-Jul-2008)