built-in treesit config

This commit is contained in:
zedhugh committed 2023-01-28 23:42:15 +08:00
1 parent f533f73444
commit 57c3df2705
8 files changed
+28 -9

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@
;; json mode is derived from `js-mode', but json file don't need `eglot'
(add-hook 'js-mode-hook
(add-hook 'js-base-mode-hook
(lambda ()
(unless (derived-mode-p 'js-json-mode 'json-mode)
(eglot-ensure))))