From f62b4623a5350dcf2e9c95137a75aa5495e6b848 Mon Sep 17 00:00:00 2001 From: Mohsin Kaleem Date: Sun, 21 Apr 2024 22:12:50 +0100 Subject: [PATCH] eglot: Add interactive capf wrapper command --- init.org | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/init.org b/init.org index 4d97a46..242d2ad 100644 --- a/init.org +++ b/init.org @@ -11542,12 +11542,18 @@ Welcome to my personal Emacs configuration 😎. (cdr item)))) (mapcar #'map-kind-names (flatmap (lambda (c) (apply #'dfs c)) res)))) + :commands eglot-completion-at-point-interactive+ + :config + (defalias 'eglot-completion-at-point-interactive+ + (cape-capf-interactive #'eglot-completion-at-point)) + :leader (:prefix leader-server-leader-prefix+ "l" '+lsp-command "p" 'eglot-list-connections "e" 'eglot-events-buffer - "x" 'eglot-shutdown) + "x" 'eglot-shutdown + ":" 'eglot-completion-at-point-interactive+) :lazy-leader (:mode 'eglot--managed-mode