New answers tagged

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 ...
Yuriy Al. Shirokov's user avatar
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 '("|"...
shynur's user avatar
  • 4,638

Top 50 recent answers are included