-
-
Notifications
You must be signed in to change notification settings - Fork 55
Closed
Labels
C-supportCatagory: support questionsCatagory: support questions
Description
Hi there,
I'm using vscode-nix-ide which breaks if you ask nil to format with nix fmt. Instead of formatting the file, it clears it instead. This seems to be caused by nix fmt not accepting input from stdin.
On a side note, it would be cool if nil could use self.formatter."${system}" by default.
VSCode configuration
"nix.enableLanguageServer": true,
"nix.serverPath": "nil",
"nix.serverSettings": {
"nil": {
"formatting": {
"command": ["nix", "fmt"]
}
}
},App versions
❯ nix --version
nix (Nix) 2.11.1
❯ nil --version
nil 2022-10-03 release
❯ code --list-extensions --show-versions
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
hcsch, MrFoxPro, kachick, nyabinary, carlthome and 1 more
Metadata
Metadata
Assignees
Labels
C-supportCatagory: support questionsCatagory: support questions