summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2022-11-30 20:00:09 -0500
committermattkae <mattkae@protonmail.com>2022-11-30 20:00:09 -0500
commite9f5b484356ef3d91749324252833db9977e7bd5 (patch)
tree295b785a42f9268dfc2d8aa5c4b3ad16957acac6 /lisp
parent7e35d96a0475c5850589a745438e0393af9c7675 (diff)
Added tree-sitter
Diffstat (limited to 'lisp')
-rw-r--r--lisp/general.el16
1 files changed, 14 insertions, 2 deletions
diff --git a/lisp/general.el b/lisp/general.el
index c5d71c4..c4a3d2f 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -261,8 +261,9 @@
(use-package eglot
:custom
(eglot-autoshutdown t)
- :ensure t
- :defer 3)
+ :ensure t)
+
+(set-face-underline 'eglot-highlight-symbol-face t)
(use-package eldoc-box
@@ -272,6 +273,17 @@
(add-hook 'emacs-lisp-mode-hook #'eldoc-box-hover-at-point-mode t)
(add-hook 'eglot-managed-mode-hook #'eldoc-box-hover-at-point-mode t)
+(use-package tree-sitter
+ :ensure t
+ :defer t)
+
+(use-package tree-sitter-langs
+ :ensure t
+ :defer t)
+
+(global-tree-sitter-mode)
+(add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode)
+
;; Vterm
(require 'vterm)
(require 'vterm-toggle)