-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: split editors.md from docs/editor-setup
- Loading branch information
Showing
2 changed files
with
33 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
## Reproducible Editors Environment | ||
|
||
### VSCodium | ||
|
||
We provide a test environment with the *vscode-nix-ide* plugin, and the repository has some [configuration examples](/docs/examples) that you can try. | ||
|
||
Start up the test environment: | ||
|
||
```console | ||
$ nix develop github:nix-community/nixd#vscodium | ||
|
||
$ codium-test | ||
``` | ||
|
||
### Neovim | ||
|
||
You can run the following command to edit a *.nix file | ||
|
||
```console | ||
$ nix develop github:nix-community/nixd#nvim | ||
|
||
$ nvim-lsp /tmp/test/default.nix | ||
|
||
``` | ||
|
||
tip: If you want to configure lsp itself, see [configuration](/docs/user-guide.md#configuration), and the following tree-like directory | ||
|
||
```console | ||
# tree -a /tmp/test | ||
/tmp/test/ | ||
├── default.nix | ||
└── .nixd.json | ||
``` |