elisp-tree-sitter icon indicating copy to clipboard operation
elisp-tree-sitter copied to clipboard

Doesn't highlight Rust documentation code examples

Open wizard-28 opened this issue 1 year ago • 0 comments

image The code example in the documentation isn't highlighted. I'm using Doom Emacs with the tree-sitter module enabled.

Here's my tree-sitter config:

(global-tree-sitter-mode)
(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode)
;; HACK: https://github.com/emacs-tree-sitter/elisp-tree-sitter/issues/64
(setq-default spell-fu-faces-include
              '(tree-sitter-hl-face:comment
                tree-sitter-hl-face:doc
                tree-sitter-hl-face:string
                font-lock-comment-face
                font-lock-doc-face
                font-lock-string-face))

wizard-28 avatar Aug 26 '22 09:08 wizard-28