@@ -138,14 +138,16 @@ CodeMirror.defineMode("clojure", function (options) {
138
138
"with-precision" , "with-redefs" , "with-redefs-fn" , "xml-seq" , "zero?" ,
139
139
"zipmap" ] ;
140
140
var haveBodyParameter = [
141
- "binding" , "bound-fn" , "case" , "catch" , "comment" , "cond" , "cond->" ,
142
- "cond->>" , "condp" , "def" , "definterface" , "defmethod" , "defn" ,
143
- "defmacro" , "defprotocol" , "defrecord" , "defstruct" , "deftype" , "do" ,
144
- "doseq" , "dotimes" , "doto" , "extend" , "extend-protocol" , "extend-type" ,
145
- "fn" , "for" , "future" , "if" , "if-let" , "if-not" , "if-some" , "let" ,
146
- "letfn" , "locking" , "loop" , "ns" , "proxy" , "reify" , "struct-map" , "try" ,
147
- "when" , "when-first" , "when-let" , "when-not" , "when-some" , "while" ,
148
- "with-open" , "with-precision" ] ;
141
+ "->" , "->>" , "as->" , "binding" , "bound-fn" , "case" , "catch" , "comment" ,
142
+ "cond" , "cond->" , "cond->>" , "condp" , "def" , "definterface" , "defmethod" ,
143
+ "defn" , "defmacro" , "defprotocol" , "defrecord" , "defstruct" , "deftype" ,
144
+ "do" , "doseq" , "dotimes" , "doto" , "extend" , "extend-protocol" ,
145
+ "extend-type" , "fn" , "for" , "future" , "if" , "if-let" , "if-not" , "if-some" ,
146
+ "let" , "letfn" , "locking" , "loop" , "ns" , "proxy" , "reify" , "struct-map" ,
147
+ "some->" , "some->>" , "try" , "when" , "when-first" , "when-let" , "when-not" ,
148
+ "when-some" , "while" , "with-bindings" , "with-bindings*" , "with-in-str" ,
149
+ "with-loading-context" , "with-local-vars" , "with-meta" , "with-open" ,
150
+ "with-out-str" , "with-precision" , "with-redefs" , "with-redefs-fn" ] ;
149
151
150
152
CodeMirror . registerHelper ( "hintWords" , "clojure" ,
151
153
[ ] . concat ( atoms , specialForms , coreSymbols ) ) ;
0 commit comments