statix
nixpkgs-fmt
statix | nixpkgs-fmt | |
---|---|---|
3 | 1 | |
506 | 554 | |
- | 2.3% | |
4.1 | 5.8 | |
3 months ago | about 2 months ago | |
Rust | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
statix
-
Editor support for the nix language?
As others have mentioned, there are a couple of LSP implementations. There's also statix for basic static analysis, as well as a few formatters, including nixpkgs-fmt and alejandra.
-
Chumsky, a parser combinator crate that makes writing error-tolerant parsers with recovery easy and fun!
I use the author's pretty error rendering crate: ariadne, in statix, and it is a delight. Comfy API, loads of customization opts, and very pretty.
- Statix — Lints and Suggestions for the Nix programming language
nixpkgs-fmt
-
Editor support for the nix language?
As others have mentioned, there are a couple of LSP implementations. There's also statix for basic static analysis, as well as a few formatters, including nixpkgs-fmt and alejandra.
What are some alternatives?
git-hooks.nix - Seamless integration of https://pre-commit.com git hooks with Nix.
nixfmt - The official (but not yet stable) formatter for Nix code
tao - A statically-typed functional language with generics, typeclasses, sum types, pattern-matching, first-class functions, currying, algebraic effects, associated types, good diagnostics, etc.
alejandra - The Uncompromising Nix Code Formatter
rnix-lsp - WIP Language Server for Nix! [maintainer=@aaronjanse]
nix-init - Generate Nix packages from URLs with hash prefetching, dependency inference, license detection, and more [maintainer=@figsoda]
pom - PEG parser combinators using operator overloading without macros.
treefmt - one CLI to format your repo
ariadne - A fancy diagnostics & error reporting crate
devenv - Fast, Declarative, Reproducible, and Composable Developer Environments
chumsky - Write expressive, high-performance parsers with ease.
nurl - Generate Nix fetcher calls from repository URLs [maintainer=@figsoda]