nixd
|
Please update this doc (tweaks, tricks, or how to setup for another editor)!
This is the description about how to setup your editor to use nixd.
Package nixd
can be found in nixpkgs.
On NixOS:
On Non NixOS:
And our flake.nix provides a package named nixd
with "unstable" experience.
Note that please do NOT override nixpkgs revision for nixd inputs. The source code have tested on specific version on NixOS/nix, which may not work at your version.
https://github.com/nix-community/vscode-nix-ide extension provide a general interface for nixd, and it should work out of box. Please file a bug if you encountered some trouble using the extension.
According to :help coc-config.txt
, coc-settings.json
:
Neovim native LSP and nvim-lspconfig. We are officially supported by nvim-lspconfig, see upstream docs
The following configuration can be used with the built-in Emacs LSP client: Eglot.
A simple Emacs Lisp configuration that adds nixd to LSP Mode in the mean time is as follows:
nixd
will be supported by default in the next release after 24.07.
Read the configuration docs here.