Skip to content

Commit b6d8a15

Browse files
authored
docs: update for lsp config
1 parent c706813 commit b6d8a15

File tree

3 files changed

+3
-47
lines changed

3 files changed

+3
-47
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ You can also open the Command Palette (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</
2727

2828
### LSP Plugin Support
2929

30-
Full language support can be enabled by using a language server. Generally, any Nix [LSP](https://microsoft.github.io/language-server-protocol/) implementation should work. Some examples are given below for [`nil`](https://github.com/oxalica/nil) and [`nixd`](https://github.com/nix-community/nixd).
30+
Full language support can be enabled by using a language server. Generally, any Nix [LSP](https://microsoft.github.io/language-server-protocol/) implementation should work. Some examples are given below for [`nil`](https://github.com/oxalica/nil?tab=readme-ov-file#vscodevscodium-with-nix-ide) and [`nixd`](https://github.com/nix-community/nixd).
3131

3232
```json5
3333
{
3434
"nix.enableLanguageServer": true,
3535
"nix.serverPath": "nil", // or "nixd"
36-
// Pass settings to the respective language server via the ``nix.serverSettings.{lsp}`` option.
36+
// LSP config can be passed via the ``nix.serverSettings.{lsp}`` as shown below.
3737
"nix.serverSettings": {
3838
// check https://github.com/oxalica/nil/blob/main/docs/configuration.md for all options available
3939
"nil": {
@@ -44,7 +44,7 @@ Full language support can be enabled by using a language server. Generally, any
4444
"command": ["nixfmt"],
4545
},
4646
},
47-
// check all nixd options at https://github.com/nix-community/nixd/blob/main/nixd/docs/configuration.md
47+
// check https://github.com/nix-community/nixd/blob/main/nixd/docs/configuration.md for all nixd config
4848
"nixd": {
4949
"formatting": {
5050
"command": ["nixfmt"],

docs/snippets/advanced-nil-settings.jsonc

Lines changed: 0 additions & 16 deletions
This file was deleted.

docs/snippets/advanced-nixd-settings.jsonc

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)