The syntax highlighting in Emacs is not great so I installed
tree-sitter plugin to improve it 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.
As you can see all
#include statements show as bold here and,
These methods also show as bold.
Is there a way to make them normal weight, without turning off the bold weight globally?