Add lsp-bridge in Emacs doc
Some checks are pending
CI / Code style check (push) Waiting to run
CI / Legacy package (push) Waiting to run
CI / Test (push) Waiting to run
CI / Flake package (push) Waiting to run

Hi

I'm author of lsp-bridge https://github.com/manateelazycat/lsp-bridge/

I have attach patch to support nil in lsp-bridge, thanks for merge. ;)
This commit is contained in:
Andy Stewart 2024-11-04 22:49:12 +08:00 committed by oxalica
parent 8044e3b71e
commit dea1b5da4e

View file

@ -118,6 +118,21 @@ Add the following elisp code to your configuration. (using `use-package`)
There are various other configurations to tweak. Refer to the
[specific manual page](https://emacs-lsp.github.io/lsp-mode/page/lsp-nix-nil/) for more details.
### Emacs with [lsp-bridge](https://github.com/manateelazycat/lsp-bridge/)
Add the following elisp code to your configuration.
```elisp
(use-package lsp-bridge
:straight '(lsp-bridge :type git :host github :repo "manateelazycat/lsp-bridge"
:files (:defaults "*.el" "*.py" "acm" "core" "langserver" "multiserver" "resources")
:build (:not compile))
:init
(global-lsp-bridge-mode)
:config
(setq lsp-bridge-nix-lsp-server "nil"))
```
### Emacs with [eglot](https://github.com/joaotavora/eglot)
Add the following elisp code to your configuration. (using `use-package`)
@ -131,7 +146,6 @@ Add the following elisp code to your configuration. (using `use-package`)
:hook
(nix-mode . eglot-ensure))
```
### VSCode/VSCodium with [Nix IDE](https://github.com/nix-community/vscode-nix-ide)
Modify the extension's settings in your `settings.json`.