mirror of
https://github.com/oxalica/nil.git
synced 2025-08-04 14:38:17 +00:00
Add lsp-bridge in Emacs doc
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:
parent
8044e3b71e
commit
dea1b5da4e
1 changed files with 15 additions and 1 deletions
16
README.md
16
README.md
|
@ -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`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue