Emacs - Clojure feature highlighting (i.e. Map, cut, print, get, etc.)

I am currently using emacs24 with clojure -mode as my clojure IDE. I am using zenburn theme.

As far as I can tell, clojure -mode only provides syntax highlighting for macros. Is there a way to add syntax highlighting to all clojure's own functions?

I've googled a bit and it seems to me that 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 will add it if anyone wants to take a look.

Thank.

+3


source to share


1 answer


You need to explicitly enable font blocking for these features 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))

      

+2


source







All Articles