aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/lisp/init-eglot.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-eglot.el b/.emacs.d/lisp/init-eglot.el
index 4baa750..5409958 100644
--- a/.emacs.d/lisp/init-eglot.el
+++ b/.emacs.d/lisp/init-eglot.el
@@ -8,10 +8,14 @@
(evil-define-key 'normal 'eglot--managed-mode
(kbd "gd") 'xref-find-definitions
(kbd "gr") 'xref-find-references
+ (kbd "gt") 'eglot-find-typeDefinition
(kbd "K") 'eldoc-doc-buffer
(kbd "gi") 'eglot-find-implementation
(kbd "C-t") 'xref-pop-marker-stack))
(setq eglot-autoreconnect t)
+(with-eval-after-load 'eglot
+ (setq completion-category-defaults nil))
+
(provide 'init-eglot)