You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Adds [Nix](https://nixos.org/) language support for [Visual Studio Code](https:/
18
18
19
19
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).
20
20
21
-
```json5
21
+
```json
22
22
{
23
23
"nix.enableLanguageServer": true,
24
24
"nix.serverPath": "nil", // or "nixd"
@@ -64,7 +64,9 @@ It can be changed by setting `nix.formatterPath` to any command which can accept
64
64
65
65
```json5
66
66
{
67
-
"nix.formatterPath":"nixfmt"// or "nixpkgs-fmt" or "alejandra" or "nix3-fmt" or pass full list of args such as or `["treefmt", "--stdin", "{file}"]`
67
+
"nix.formatterPath":"nixfmt"// or "nixpkgs-fmt" or "alejandra" or "nix3-fmt"
0 commit comments