mirror of
https://github.com/nix-community/nixd.git
synced 2025-12-31 01:40:55 +02:00
Nix language server, based on nix libraries [maintainer=@inclyc,@Aleksanaa]
| .github | ||
| libnixf | ||
| libnixt | ||
| nixd | ||
| .clang-format | ||
| .clang-tidy | ||
| .gitignore | ||
| default.nix | ||
| Doxyfile | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| meson.build | ||
| README.md | ||
| treefmt.nix | ||
nixd
Nix language server
About
This is a feature-rich nix language server interoperating with C++ nix.
Some notable features provided by linking with the Nix library include:
- Nixpkgs option support, for all option system (NixOS/home-manager/flake-parts).
- Nixpkgs package complete, lazily evaluated.
- Shared eval caches (flake, file) with your system's Nix.
- Support for cross-file analysis (goto definition to locations in nixpkgs).
Get Started
You can try nixd without installation. We have tested some working & reproducible editor environments.
Resources
- Editor Setup (get basic working language server out of box)
- Configuration (see how to, and which options are tunable)
- Features (features explanation)
- Developers' Manual (internal design, contributing)
- Public Talk by @inclyc at NixOS CN Meetup #2, slides, (zh_CN)