emacs-tree-sitter / elisp-tree-sitter

Emacs Lisp bindings for tree-sitter
https://emacs-tree-sitter.github.io
MIT License
822 stars 74 forks source link

Certain keywords show font weight of bold. #146

Closed apoorv569 closed 3 years ago

apoorv569 commented 3 years ago

I am using Doom Emacs, I installed this plugin and configured it like this,

;; Tree sitter
(use-package! tree-sitter
  :config
  (require 'tree-sitter-langs)
  (global-tree-sitter-mode)
  (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))

It does work, but for some reason certain keywords like a call to a class method show up as font weight of bold, when they should show as normal weight. 2021-05-26_20-25 As you can see all #include statements show as bold here and,

2021-05-26_20-26 These methods also show as bold.

Is there a way to make them normal weight, without turning off the bold weight globally?

rirze commented 3 years ago

Take a look at the documentation (https://ubolonton.github.io/emacs-tree-sitter/syntax-highlighting/customization/)