Contributions are more than welcome!
Please ensure your pull request title conforms to Conventional Commits.
CI checks are run using nix.
We use the following tools:
.editorconfig(witheditorconfig-checker)stylua[Lua]alejandra[Nix]
luacheck[Lua]markdownlint[Markdown]
- Requires flakes to be enabled.
This project provides a flake.nix that can
bootstrap all of the above development tools.
To enter a development shell:
nix developTo apply formatting, while in a devShell, run
pre-commit run --allIf you use direnv,
just run direnv allow and you will be dropped in this devShell.
Have nvim command installed to your PATH
(must be usable via the interpreter line #!/usr/bin/env -S nvim -l)
Navigate to the root of the repository and run ./test.nvim
They will also ran as part of the pre-commit checks.
If you just want to run all checks that are available, run:
nix flake check -L --option sandbox falseTo run tests locally, using Nix:
nix build .#checks.<your-system>.integration-nightly -L --option sandbox falseFor example:
nix build .#checks.x86_64-linux.integration-nightly -L --option sandbox falseFor formatting and linting:
nix build .#checks.<your-system>.pre-commit-check -LFor static type checking:
nix build .#checks.<your-system>.type-check-nightly -L