A language server for Nix providing syntax checking, completion, renaming, and formatting.
rnix-lsp is a language server for the Nix programming language that provides syntax checking, code completion, renaming, goto definition, and formatting capabilities. It solves the problem of lacking robust editor support for Nix by integrating with popular code editors to enhance developer productivity.
Nix developers and system administrators who write Nix expressions and need advanced editor tooling for syntax validation, navigation, and code formatting.
Developers choose rnix-lsp because it is the primary open-source language server for Nix, built on the reliable rnix parser, and it integrates seamlessly with major editors like Vim, Emacs, and VSCode.
WIP Language Server for Nix! [maintainer=@aaronjanse]
Provides real-time syntax checking using the rnix parser, offering accurate error detection for Nix code without external tools.
Integrates basic LSP features like completion, renaming, and goto definition, enhancing productivity for common Nix development tasks.
Seamlessly integrates with nixpkgs-fmt for code formatting, ensuring consistent style directly within the editor workflow.
Maintained by the Nix community with active support on Matrix, fostering collaboration and updates based on user feedback.
Admits to being 'beta-level at best' with expected breakages and no semver compatibility before 1.x.y, making it risky for critical projects.
Mac OS support is not guaranteed, as noted in PR #61, which can exclude developers on Apple ecosystems.
Editor integration instructions are not fully tested per the README, often requiring users to raise issues or submit PRs for fixes.
Instant, easy, and predictable development environments
The Deterministic Foundation for your SDLC
A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]
Multi-tenant Nix Binary Cache
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.