Skip to content

Commit 41a45d4

Browse files
committed
Update comments and add with-in-str indent rule
1 parent 0388414 commit 41a45d4

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

indent/clojure.vim

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ setlocal indentkeys=!,o,O
2626

2727
if !exists('g:clojure_fuzzy_indent_patterns')
2828
let g:clojure_fuzzy_indent_patterns = [
29-
\ '^with-\%(meta\|out-str\|loading-context\)\@!',
29+
\ '^with-\%(meta\|in-str\|out-str\|loading-context\)\@!',
3030
\ '^def',
3131
\ '^let'
3232
\ ]
@@ -54,19 +54,19 @@ if !exists('g:clojure_indent_rules')
5454
\ 'run': 1, 'run*': 1, 'fresh': 1
5555
\ }
5656

57-
" (letfn '(1 ((:defn)) nil))
58-
" (proxy '(2 nil nil (:defn)))
59-
" (reify '(:defn (1)))
60-
" (deftype '(2 nil nil (:defn)))
61-
" (defrecord '(2 nil nil (:defn)))
62-
" (defprotocol '(1 (:defn)))
63-
" (definterface '(1 (:defn)))
64-
" (extend-protocol '(1 :defn))
65-
" (extend-type '(1 :defn))
66-
" (specify '(1 :defn)) ; ClojureScript
67-
" (specify! '(1 :defn)) ; ClojureScript
68-
" (this-as 1) ; ClojureScript
69-
" clojure.test, core.async, core.logic
57+
" (letfn '(1 ((:defn)) nil))
58+
" (proxy '(2 nil nil (:defn)))
59+
" (reify '(:defn (1)))
60+
" (deftype '(2 nil nil (:defn)))
61+
" (defrecord '(2 nil nil (:defn)))
62+
" (defprotocol '(1 (:defn)))
63+
" (definterface '(1 (:defn)))
64+
" (extend-protocol '(1 :defn))
65+
" (extend-type '(1 :defn))
66+
" (specify '(1 :defn)) ; ClojureScript
67+
" (specify! '(1 :defn)) ; ClojureScript
68+
" (this-as 1) ; ClojureScript
69+
" clojure.test, core.async, core.logic
7070
endif
7171

7272
" Get the value of a configuration option.

0 commit comments

Comments
 (0)