Skip to content

Commit

Permalink
eglot: Add interactive capf wrapper command
Browse files Browse the repository at this point in the history
  • Loading branch information
mohkale committed Apr 21, 2024
1 parent 74ad475 commit f62b462
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion init.org
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f62b462

Please sign in to comment.