summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-14 15:39:57 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-14 15:39:57 +0200
commit28f772b6ad058d81eb0643b66f8e361995c1de17 (patch)
tree0052a02cb1e242d0a63844826517210c7d5440e7
parentc94960fa05e34aee4dafa590be9cd3a3b00532ce (diff)
emacs: Set treesit-font-lock-level to 4
-rw-r--r--.config/emacs/init.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 7f69581..5955db0 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -403,6 +403,8 @@ indentation-width.")
;;; Tree-Sitter
(when (treesit-available-p)
+ (x-set treesit-font-lock-level 4)
+
(setq treesit-language-source-alist
'((cpp "https://github.com/tree-sitter/tree-sitter-cpp")
(elisp "https://github.com/Wilfred/tree-sitter-elisp")