mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
tweak(tree-sitter): treesit-font-lock-level = 4
Fix: #8494 Close: #8487
This commit is contained in:
parent
26a5ad72e1
commit
ddc447d9d5
1 changed files with 4 additions and 0 deletions
|
|
@ -10,6 +10,10 @@
|
|||
:preface
|
||||
(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
|
||||
;; missing language grammars (some error out, some respect
|
||||
;; `treesit-auto-install-grammar', some fall back to `fundamental-mode').
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue