diff --git a/modules/tools/tree-sitter/config.el b/modules/tools/tree-sitter/config.el index beb623310..e3ea430cc 100644 --- a/modules/tools/tree-sitter/config.el +++ b/modules/tools/tree-sitter/config.el @@ -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').