Skip to content

Commit 6a4329b

Browse files
committed
Font-lock code in the REPL
1 parent 6e55048 commit 6a4329b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* [#46](https://github.com/clojure-emacs/inf-clojure/pull/46): Make it possible to disable prompt on `inf-clojure-set-ns`.
99
* New interactive command `inf-clojure-display-version`.
1010
* [#42](https://github.com/clojure-emacs/inf-clojure/issues/42): Add a defcustom controlling the window in which the REPL buffer is displayed (`inf-clojure-repl-use-same-window`).
11+
* Font-lock the code in the REPL.
1112

1213
### Changes
1314

inf-clojure.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ to continue it."
275275
(setq comint-prompt-regexp inf-clojure-comint-prompt-regexp)
276276
(setq mode-line-process '(":%s"))
277277
(clojure-mode-variables)
278+
(clojure-font-lock-setup)
278279
(inf-clojure-eldoc-setup)
279280
(setq comint-get-old-input #'inf-clojure-get-old-input)
280281
(setq comint-input-filter #'inf-clojure-input-filter)

0 commit comments

Comments
 (0)