This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-13
Channels
- # babashka (3)
- # beginners (91)
- # calva (10)
- # cherry (1)
- # clj-commons (1)
- # clj-kondo (8)
- # clojure (19)
- # clojure-australia (1)
- # clojure-china (1)
- # clojure-europe (16)
- # clojure-filipino (1)
- # clojure-hk (1)
- # clojure-indonesia (1)
- # clojure-japan (1)
- # clojure-korea (1)
- # clojure-my (1)
- # clojure-norway (2)
- # clojure-sg (1)
- # clojure-taiwan (1)
- # cursive (12)
- # data-science (4)
- # datalevin (3)
- # emacs (16)
- # events (9)
- # hyperfiddle (1)
- # juxt (1)
- # lsp (2)
- # missionary (2)
- # music (1)
- # nbb (14)
- # off-topic (15)
- # pathom (5)
- # releases (1)
- # shadow-cljs (41)
- # sql (10)
- # squint (13)
- # vim (7)
- # xtdb (35)
This seems to be the solution: http://blog.jenkster.com/2013/01/clojure-syntax-highlighting-in-emacs.html
you can add highlights to any symbol in clojure mode, i actually has an issue for clojure-mode related to this, though cider should really be doing this for you.
i'm using lsp for highlighting not cider , i'll try the clojure mode way now let you know
anyway, the issue i posted was something cider wasn't fixing, so it seems ok to add special font-locking in clojure mode when other modes fail
does cider have a highlight face for macros or how would you use cider to highlight >defn
cider does do some fontlocking. you can see it when you open a clj file and it changes font locking after jack-in or file-load C-c C-l
highlight doesn't sound like font-locking, though... i'm not sure what that is.... i'm not an expert with cider, i fix stuff when i run into problems, but i generally don't want to know much about cider