File tree 1 file changed +2
-2
lines changed
src-shared/nextjournal/clojure_mode
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 152
152
1 (some-> % n/with-prefix n/right n/end-edge?)
153
153
-1 (some-> % n/with-prefix n/left n/start-edge?)))))]
154
154
(let [str? (n/string? parent)]
155
- (prn :parent (n/string state parent) :str str?)
156
155
(when-let [target (case direction 1 (first (remove n/line-comment? (n/rights (n/with-prefix parent))))
157
156
-1 (first (remove n/line-comment? (n/lefts (n/with-prefix parent)))))]
158
157
{:cursor/mapped from
164
163
(-> edge
165
164
n/from-to
166
165
(cond->
167
- true #_ (not str?) (j/assoc! :insert " " )))])
166
+ (not str?) (j/assoc! :insert " " )))])
168
167
-1
169
168
(let [^string edge (n/left-edge-with-prefix state parent)
170
169
start (n/start (n/with-prefix parent))]
170
+ (prn :parent (n/string state parent) :str str?)
171
171
[(cond-> {:from start
172
172
:to (+ start (count edge))
173
173
#_#_:insert " " }
You can’t perform that action at this time.
0 commit comments