Reputation:
I am currently using emacs24 with clojure-mode as my clojure IDE. I use the zenburn theme.
As far as I can tell, clojure-mode only provides syntax-highlighting for macros. Is there a way to add syntax highlighting for all clojure native functions?
I've googled a bit and it seems like I'm either the only one who wants this, or the only one that doesn't have it for some strange reason. I don't think my .emacs file is a necessary addition to this question but I'll add it if someone wants to take a look.
Thank you.
Upvotes: 3
Views: 550
Reputation:
You need to explicitly enable font locking for these functions with clojure-mode-extra-font-locking
. Install this package from MELPA, and add the following to your init.el
:
(eval-after-load 'clojure-mode '(require 'clojure-mode-extra-font-locking))
Upvotes: 2