Skip to content

Commit

Permalink
feat: declare support for nil (#276)
Browse files Browse the repository at this point in the history
* feat: declare support for nil

* Update README.md

Co-authored-by: Noorhteen Raja NJ <jnoortheen@gmail.com>

Co-authored-by: Noorhteen Raja NJ <jnoortheen@gmail.com>
  • Loading branch information
hall and jnoortheen authored Sep 10, 2022
1 parent ce29c28 commit c19ceba
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,18 @@ Adds [nix](https://nixos.org/) language support for VSCode Editor.

![](./images/docs/md-embed-nix.png)

* Full editing support with [rnix-LSP](https://github.com/nix-community/rnix-lsp)
* Full editing support when using a language server. Generally, any nix [LSP](https://microsoft.github.io/language-server-protocol/) implementation should work.
The following are tested so far:

- [rnix-lsp](https://github.com/nix-community/rnix-lsp)
- [nil](https://github.com/oxalica/nil)

```jsonc
{
"nix.serverPath": "rnix-lsp"
// "nix.serverPath": "nil"
}
```

* When `Language Server` support is not enabled the following tools are used to
+ Formatting support. Set `nix.formatterPath` to any command which can accept file contents on stdin and return formatted text on stdout; e.g.,
Expand Down

0 comments on commit c19ceba

Please sign in to comment.