mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -3,7 +3,6 @@
|
|||||||
;;;###autodef (fset 'lsp! #'ignore)
|
;;;###autodef (fset 'lsp! #'ignore)
|
||||||
(defun lsp! ()
|
(defun lsp! ()
|
||||||
"Dispatch to call the currently used lsp client entrypoint"
|
"Dispatch to call the currently used lsp client entrypoint"
|
||||||
(interactive)
|
|
||||||
(if (modulep! +eglot)
|
(if (modulep! +eglot)
|
||||||
(when (require 'eglot nil t)
|
(when (require 'eglot nil t)
|
||||||
(if (eglot--lookup-mode major-mode)
|
(if (eglot--lookup-mode major-mode)
|
||||||
|
Reference in New Issue
Block a user