@@ -52,16 +52,13 @@ call s:SConf('clojure_fuzzy_indent_patterns', [
52
52
" - 1+: 2 space indentation, no alignment.
53
53
" Defaults copied from: https://github.com/clojure-emacs/clojure-mode/blob/0e62583b5198f71856e4d7b80e1099789d47f2ed/clojure-mode.el#L1800-L1875
54
54
call s: SConf (' clojure_indent_rules' , {
55
- \ ' ns' : 1 ,
56
- \ ' fn' : 1 , ' def' : 1 , ' defn' : 1 , ' bound-fn' : 1 ,
57
- \ ' let' : 1 , ' binding' : 1 , ' defmethod' : 1 ,
55
+ \ ' fn' : 1 , ' def' : 1 , ' defn' : 1 , ' bound-fn' : 1 , ' let' : 1 , ' binding' : 1 , ' defmethod' : 1 ,
58
56
\ ' if' : 1 , ' if-not' : 1 , ' if-some' : 1 , ' if-let' : 1 ,
59
57
\ ' when' : 1 , ' when-not' : 1 , ' when-some' : 1 , ' when-let' : 1 , ' when-first' : 1 ,
60
58
\ ' case' : 1 , ' cond' : 0 , ' cond->' : 1 , ' cond->>' : 1 , ' condp' : 2 ,
61
59
\ ' while' : 1 , ' loop' : 1 , ' for' : 1 , ' doseq' : 1 , ' dotimes' : 1 ,
62
- \ ' do' : 0 , ' doto' : 1 , ' comment' : 0 , ' as->' : 2 ,
63
- \ ' delay' : 0 , ' future' : 0 , ' locking' : 1 ,
64
- \ ' try' : 0 , ' catch' : 2 , ' finally' : 0 ,
60
+ \ ' ns' : 1 , ' do' : 0 , ' doto' : 1 , ' comment' : 0 , ' as->' : 2 ,
61
+ \ ' delay' : 0 , ' future' : 0 , ' locking' : 1 , ' try' : 0 , ' catch' : 2 , ' finally' : 0 ,
65
62
\ ' reify' : 1 , ' proxy' : 2 , ' defrecord' : 2 , ' defprotocol' : 1 , ' definterface' : 1 ,
66
63
\ ' extend' : 1 , ' extend-protocol' : 1 , ' extend-type' : 1 ,
67
64
" \ (letfn) (1 ((:defn)) nil)
@@ -265,8 +262,7 @@ function! s:ListIndent(delim_pos)
265
262
266
263
" TODO: handle complex indentation (e.g. letfn) and introduce
267
264
" indentation config similar to Emacs' clojure-mode and cljfmt.
268
- " This new config option `clojure_indent_rules` should replace most
269
- " other indentation options. Skip if "traditional" style was chosen.
265
+ " Skip if "traditional" style was chosen.
270
266
271
267
" TODO: simplify this.
272
268
let syms = split (ln_content, ' [[:space:],;()\[\]{}@\\"^~`]' , 1 )
0 commit comments