File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 4343; ; Does not launch any IDE features.
4444; ; - eglot
4545; ; https://github.com/joaotavora/eglot
46+ ; ; - lsp-bridge
47+ ; ; https://github.com/manateelazycat/lsp-bridge
4648; ; - lsp-mode
4749; ; https://emacs-lsp.github.io/lsp-mode/
4850; ; https://github.com/emacs-lsp/lsp-mode
9193 (require 'cl-lib )
9294 (require 'php-ide-phpactor )
9395 (defvar eglot-server-programs )
96+ (declare-function lsp-bridge-mode " ext:lsp-bridge" ())
9497 (declare-function eglot-ensure " ext:eglot" ())
9598 (declare-function eglot--managed-mode-off " ext:eglot" ())
9699 (declare-function phpactor--find-executable " ext:phpactor" ()))
105108 (eglot :test (lambda () (and (require 'eglot nil t ) (featurep 'eglot )))
106109 :activate eglot-ensure
107110 :deactivate eglot--managed-mode-off)
111+ (lsp-bridge :test (lambda () (and (require 'lsp-bridge nil t ) (featurep 'lsp-bridge )))
112+ :activate (lambda () (lsp-bridge-mode +1 ))
113+ :deactivate (lambda () (lsp-bridge-mode -1 )))
108114 (lsp-mode :test (lambda () (and (require 'lsp nil t ) (featurep 'lsp )))
109115 :activate lsp
110116 :deactivate lsp-workspace-shutdown)))
164170(defun php-ide-turn-on ()
165171 " Turn on PHP IDE-FEATURES and execute `php-ide-mode' ."
166172 (unless php-ide-features
167- (user-error " No PHP-IDE feature is installed. Install the lsp-mode, eglot or phpactor package" ))
173+ (user-error " No PHP-IDE feature is installed. Install the lsp-mode, lsp-bridge, eglot or phpactor package" ))
168174 (php-ide-mode +1 ))
169175
170176(defun php-ide--activate-buffer (name ide-plist )
You can’t perform that action at this time.
0 commit comments