diff options
Diffstat (limited to 'emacs/custom/my-lsp.el')
-rw-r--r-- | emacs/custom/my-lsp.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/emacs/custom/my-lsp.el b/emacs/custom/my-lsp.el index 0cb62bd..98c061a 100644 --- a/emacs/custom/my-lsp.el +++ b/emacs/custom/my-lsp.el @@ -22,6 +22,15 @@ (add-hook 'lsp-mode-hook #'lsp-ui-mode) +(require 'consult-lsp) +(define-key lsp-mode-map [remap xref-find-apropos] #'consult-lsp-symbols) + +(require 'lsp-completion) +(setq lsp-completion-provider :none) ;; I use corfu +(add-hook 'lsp-completion-mode-hook + (lambda () + (setf (alist-get 'lsp-capf completion-category-defaults) '((styles . (orderless flex)))))) + (provide 'my-lsp) ;;; my-lsp.el ends here |