Skip to content

Commit 4949c85

Browse files
author
dan sutton
committed
Font lock inserted text in repl
1 parent 88eebcf commit 4949c85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cider-mode.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ If EVAL is non-nil the form will also be evaluated. Use
258258
(goto-char (point-max))
259259
(let ((beg (point)))
260260
(insert form)
261-
(indent-region beg (point)))
261+
(indent-region beg (point))
262+
(cider--font-lock-ensure beg (point)))
262263
(when (if cider-invert-insert-eval-p
263264
(not eval)
264265
eval)

0 commit comments

Comments
 (0)