File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ fuzzy indent feature. The defaults are:
145145" Default
146146let g:clojure_fuzzy_indent = 1
147147let g:clojure_fuzzy_indent_patterns = ['^with', '^def', '^let']
148- let g:clojure_fuzzy_indent_blacklist = ['^with-meta $', '-fn $']
148+ let g:clojure_fuzzy_indent_blacklist = ['-fn $', '\v^with-%(meta|out-str|loading-context) $']
149149
150150" Legacy comma-delimited string version; the list format above is
151151" recommended. Note that patterns are implicitly anchored with ^ and $.
Original file line number Diff line number Diff line change @@ -72,17 +72,17 @@ fuzzy indent feature. The defaults are:
7272 " Default
7373 let g:clojure_fuzzy_indent = 1
7474 let g:clojure_fuzzy_indent_patterns = ['^with', '^def', '^let']
75- let g:clojure_fuzzy_indent_blacklist = ['^with-meta $', '-fn $']
75+ let g:clojure_fuzzy_indent_blacklist = ['-fn $', '\v^with-%(meta|out-str|loading-context) $']
7676
7777 " Legacy comma-delimited string version; the list format above is
7878 " recommended. Note that patterns are implicitly anchored with ^ and $.
7979 let g:clojure_fuzzy_indent_patterns = 'with.*,def.*,let.*'
8080<
8181
8282| g:clojure_fuzzy_indent_patterns | and | g:clojure_fuzzy_indent_blacklist | are
83- | Lists | of patterns that will be matched against the unqualified symbol at the
84- head of a list. This means that a pattern like "^foo" will match all these
85- candidates: "foobar", "my.ns/foobar", and "#'foobar".
83+ | Lists | of patterns that will be matched against the unquoted, unqualified
84+ symbol at the head of a list. This means that a pattern like "^foo" will match
85+ all these candidates: "foobar", "my.ns/foobar", and "#'foobar".
8686
8787Each candidate word is tested for special treatment in this order:
8888
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ if exists("*searchpairpos")
4040 endif
4141
4242 if ! exists (' g:clojure_fuzzy_indent_blacklist' )
43- let g: clojure_fuzzy_indent_blacklist = [' ^with-meta $' , ' -fn $' ]
43+ let g: clojure_fuzzy_indent_blacklist = [' -fn $' , ' \v^with-%(meta|out-str|loading-context) $' ]
4444 endif
4545
4646 if ! exists (' g:clojure_special_indent_words' )
You can’t perform that action at this time.
0 commit comments