fix(lsp): lsp!: make non-interactive

This autodef was never intended to be interactive. Use `lsp` or `eglot`
if you need an interactive variant.
This commit is contained in:
Henrik Lissner
2024-10-20 20:03:45 -04:00
parent 7aed77c702
commit 5ff8561b5e

View File

@ -3,7 +3,6 @@
;;;###autodef (fset 'lsp! #'ignore)
(defun lsp! ()
"Dispatch to call the currently used lsp client entrypoint"
(interactive)
(if (modulep! +eglot)
(when (require 'eglot nil t)
(if (eglot--lookup-mode major-mode)