New answers tagged font-lock
0
votes
Accepted
How to use tree-sitter parser for syntax highlighting?
Answering my own question. TL;DR: yes, explicit highlighting rules are needed; patterns for highlighting rules should match real fragments of syntax tree (in my case Roc syntax tree hasn't comment and ...
1
vote
How to set font for specified character?
(I'm just providing a workaround; it doesn't directly answer your question.)
You might want Emacs to render the ASCII | as a Unicode │.
(add-to-list 'prettify-symbols-alist
'("|"...
Top 50 recent answers are included
Related Tags
font-lock × 310org-mode × 54
syntax-highlighting × 53
faces × 33
regular-expressions × 29
latex × 19
text-properties × 18
auctex × 15
major-mode × 15
highlighting × 14
colors × 12
comment × 11
python × 10
fonts × 10
c++ × 7
org-babel × 6
debugging × 6
c-mode × 6
org-export × 5
spacemacs × 5
display × 5
cc-mode × 5
markdown-mode × 5
rx × 5
elisp × 4