diff options
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/lisp/init-lsp.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/.emacs.d/lisp/init-lsp.el b/.emacs.d/lisp/init-lsp.el index fff9045..4fc51a3 100644 --- a/.emacs.d/lisp/init-lsp.el +++ b/.emacs.d/lisp/init-lsp.el @@ -32,10 +32,6 @@ (defun my/lsp-mode-setup-completion () (setf (alist-get 'styles (alist-get 'lsp-capf completion-category-defaults)) '(orderless))) - (defun lsp--make-reference-params-exclude-declaration (orig &optional td-position exclude-declaration) - (funcall orig td-position t)) - - (advice-add 'lsp--make-reference-params :around 'lsp--make-reference-params-exclude-declaration) (if (eq system-type 'darwin) (setq lsp-keymap-prefix "s-l") (setq lsp-keymap-prefix "C-c C-l")) @@ -51,6 +47,7 @@ lsp-modeline-diagnostics-enable nil lsp-treemacs-theme "Iconless" lsp-completion-provider :none ;; use corfu + lsp-references-exclude-definition t ;; user cider for indendation, completion and eldoc instead lsp-enable-indentation nil ;;lsp-completion-enable nil |