diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index 8660b50..0f50586 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -607,10 +607,14 @@ Return nil if DIR is not in a hugo project at all." (use-package lsp-mode :hook ((powershell-mode . lsp-mode) - (lsp-mode . lsp-enable-which-key-integration)) + (lsp-mode . lsp-enable-which-key-integration) + (lsp-completion-mode . corfu/lsp-mode-setup-completion)) :commands lsp :diminish lsp-lens-mode - :custom (lsp-completion-provider :none)) + :custom (lsp-completion-provider :none) + :init (defun corfu/lsp-mode-setup-completion () + (setf (alist-get 'styles (alist-get 'lsp-capf completion-category-defaults)) + '(flex)))) ;; broken snippets I don't care about... (use-package yasnippet