diff options
author | Guangxiong Lin <[email protected]> | 2022-03-20 00:00:24 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-03-20 00:00:24 +0800 |
commit | d96ff58797a112280f8a3599b599b4c6d66ef0af (patch) | |
tree | fea9092ca0b7e6c089f7537a1dd26f5f82ec2d85 | |
parent | 63b442f31c66dd8e2e3a1e6d2326fa89b878e093 (diff) | |
download | dotfiles-d96ff58797a112280f8a3599b599b4c6d66ef0af.tar.gz dotfiles-d96ff58797a112280f8a3599b599b4c6d66ef0af.tar.bz2 dotfiles-d96ff58797a112280f8a3599b599b4c6d66ef0af.zip |
Improve eglot (emacs)
-rw-r--r-- | .emacs.d/lisp/init-eglot.el | 4 |
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) |