[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/php-mode e45fa0766f 05/15: Add lsp-bridge
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/php-mode e45fa0766f 05/15: Add lsp-bridge |
Date: |
Sat, 18 Mar 2023 18:01:26 -0400 (EDT) |
branch: elpa/php-mode
commit e45fa0766f277df50b1b5a8bda2d8ac49d42cabd
Author: USAMI Kenta <tadsan@zonu.me>
Commit: USAMI Kenta <tadsan@zonu.me>
Add lsp-bridge
---
lisp/php-ide.el | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/lisp/php-ide.el b/lisp/php-ide.el
index e19de0b219..1342c1564e 100644
--- a/lisp/php-ide.el
+++ b/lisp/php-ide.el
@@ -43,6 +43,8 @@
;; Does not launch any IDE features.
;; - eglot
;; https://github.com/joaotavora/eglot
+;; - lsp-bridge
+;; https://github.com/manateelazycat/lsp-bridge
;; - lsp-mode
;; https://emacs-lsp.github.io/lsp-mode/
;; https://github.com/emacs-lsp/lsp-mode
@@ -88,6 +90,7 @@
(require 'cl-lib)
(require 'php-ide-phpactor)
(defvar eglot-server-programs)
+ (declare-function lsp-bridge-mode "ext:lsp-bridge" ())
(declare-function eglot-ensure "ext:eglot" ())
(declare-function eglot--managed-mode-off "ext:eglot" ())
(declare-function phpactor--find-executable "ext:phpactor" ()))
@@ -102,6 +105,9 @@
(eglot :test (lambda () (and (require 'eglot nil t) (featurep 'eglot)))
:activate eglot-ensure
:deactivate eglot--managed-mode-off)
+ (lsp-bridge :test (lambda () (and (require 'lsp-bridge nil t) (featurep
'lsp-bridge)))
+ :activate (lambda () (lsp-bridge-mode +1))
+ :deactivate (lambda () (lsp-bridge-mode -1)))
(lsp-mode :test (lambda () (and (require 'lsp nil t) (featurep 'lsp)))
:activate lsp
:deactivate lsp-workspace-shutdown)))
@@ -161,7 +167,7 @@
(defun php-ide-turn-on ()
"Turn on PHP IDE-FEATURES and execute `php-ide-mode'."
(unless php-ide-features
- (user-error "No PHP-IDE feature is installed. Install the lsp-mode, eglot
or phpactor package"))
+ (user-error "No PHP-IDE feature is installed. Install the lsp-mode,
lsp-bridge, eglot or phpactor package"))
(php-ide-mode +1))
(defun php-ide--activate-buffer (name ide-plist)
- [nongnu] elpa/php-mode updated (8e874a8fd8 -> 47e0813079), ELPA Syncer, 2023/03/18
- [nongnu] elpa/php-mode 657a7b803d 08/15: Update CHANGELOG, ELPA Syncer, 2023/03/18
- [nongnu] elpa/php-mode bb5bec31ee 04/15: Add php-ide.el, ELPA Syncer, 2023/03/18
- [nongnu] elpa/php-mode a01bb220bf 09/15: Add php-ide-eglot-server-program command, ELPA Syncer, 2023/03/18
- [nongnu] elpa/php-mode 5d3e9462a2 01/15: Fix doc comment, ELPA Syncer, 2023/03/18
- [nongnu] elpa/php-mode 91cd91a107 07/15: Remove php-eglot.el, ELPA Syncer, 2023/03/18
- [nongnu] elpa/php-mode 67d818928a 02/15: Add php-ide-phpactor.el, ELPA Syncer, 2023/03/18
- [nongnu] elpa/php-mode e45fa0766f 05/15: Add lsp-bridge,
ELPA Syncer <=
- [nongnu] elpa/php-mode acde9abad2 03/15: Add php-eglot.el, ELPA Syncer, 2023/03/18
- [nongnu] elpa/php-mode c601f75fb9 13/15: Merge pull request #734 from emacs-php/release/v1.24.3, ELPA Syncer, 2023/03/18
- [nongnu] elpa/php-mode 6d4ca45093 06/15: Add php-ide-mode-hooks, ELPA Syncer, 2023/03/18
- [nongnu] elpa/php-mode ece3dd51ce 10/15: Add php-ide-mode-functions instead of php-ide-mode-hooks, ELPA Syncer, 2023/03/18
- [nongnu] elpa/php-mode 2714393979 14/15: Make PHP Mode requires Emacs 26.1+, ELPA Syncer, 2023/03/18
- [nongnu] elpa/php-mode 47e0813079 15/15: Merge pull request #736 from emacs-php/drop/emacs-25, ELPA Syncer, 2023/03/18
- [nongnu] elpa/php-mode bed4d8ced3 12/15: Bump up version 1.24.3, ELPA Syncer, 2023/03/18
- [nongnu] elpa/php-mode c68e18c06b 11/15: Merge pull request #709 from emacs-php/feature/php-ide, ELPA Syncer, 2023/03/18