diff --git a/CHANGELOG.md b/CHANGELOG.md index a1b244d..b9ee6c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ ### Bugs fixed +* [#193](https://github.com/clojure-emacs/inf-clojure/pull/193): Set syntax table in repl buffer * [#152](https://github.com/clojure-emacs/inf-clojure/issues/152): Sanitize should only remove whitespace at the end of a command. * [#188](https://github.com/clojure-emacs/inf-clojure/pull/188): Handle newlines between forms for `inf-clojure-eval-buffer`. * [#189](https://github.com/clojure-emacs/inf-clojure/pull/189): Font-lock code inserted in the REPL from a source buffer. diff --git a/inf-clojure.el b/inf-clojure.el index c9ede40..564cd2c 100644 --- a/inf-clojure.el +++ b/inf-clojure.el @@ -770,6 +770,7 @@ process buffer for a list of commands.)" (with-current-buffer (apply #'make-comint process-buffer-name (car cmdlist) nil (cdr cmdlist)) (inf-clojure-mode) + (set-syntax-table clojure-mode-syntax-table) (setq-local inf-clojure-repl-type repl-type) (hack-dir-local-variables-non-file-buffer)))) ;; update the default comint buffer and switch to it