mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-10 15:33:36 -05:00
tweak(tree-sitter): treesit-font-lock-level = 4
Fix: #8494 Close: #8487
This commit is contained in:
@@ -10,6 +10,10 @@
|
|||||||
:preface
|
:preface
|
||||||
(setq treesit-enabled-modes t)
|
(setq treesit-enabled-modes t)
|
||||||
|
|
||||||
|
;; At 3 (the default), too many users think syntax highlighting is broken or
|
||||||
|
;; simply "looks off."
|
||||||
|
(setq treesit-font-lock-level 4)
|
||||||
|
|
||||||
;; HACK: The *-ts-mode major modes are inconsistent about how they treat
|
;; HACK: The *-ts-mode major modes are inconsistent about how they treat
|
||||||
;; missing language grammars (some error out, some respect
|
;; missing language grammars (some error out, some respect
|
||||||
;; `treesit-auto-install-grammar', some fall back to `fundamental-mode').
|
;; `treesit-auto-install-grammar', some fall back to `fundamental-mode').
|
||||||
|
Reference in New Issue
Block a user