nil: Language server of Nix Expression Language
- Have the latest stable version of Rust installed.
cargo install --git https://github.com/oxalica/nil.git
Add the following vimscript to your configuration.
lua <<EOF
require('lspconfig').rnix.setup {
autostart = true,
-- Set to the path to `nil` binary you installed.
cmd = { vim.env.HOME .. "/.local/bin/nil" },
}
EOF
"nil" is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.