Linting with nvim-lint:
Language | Tool | Nixpkgs |
---|---|---|
Bash |
shellcheck |
pkgs.shellcheck |
JSON |
jsonlint |
jsonlint |
Markdown |
vale |
pkgs.vale |
RST |
vale |
pkgs.vale |
Text |
vale |
pkgs.vale |
C |
cpplint |
pkgs.cpplint |
C++ |
cpplint |
pkgs.cpplint |
Go |
golangcilint |
pkgs.golangci-lint |
Lua |
selene |
pkgs.selene |
Python |
ruff |
pkgs.ruff |
Javascript |
eslint_d |
pkgs.eslint_d |
Javascript React |
eslint_d |
pkgs.eslint_d |
Java |
checkstyle |
pkgs.checkstyle |
Rust |
clippy |
pkgs.clippy |
CMake |
cmakelint |
pkgs.cmake-lint |
Nix |
statix |
pkgs.statix |
Formatting with conform.nvim:
Language | Tool | Nixpkgs |
---|---|---|
Bash |
shellcheck |
pkgs.shellcheck |
JSON |
prettierd |
pkgs.prettierd |
C |
clang-format |
pkgs.libclang |
C++ |
clang-format |
pkgs.libclang |
Go |
gofmt |
pkgs.go |
Lua |
stylua |
pkgs.stylua |
Python |
ruff_format |
pkgs.ruff |
HTML |
prettierd |
pkgs.prettierd |
CSS |
prettierd |
pkgs.prettierd |
Javascript |
prettierd |
pkgs.prettierd |
Javascript React |
prettierd |
pkgs.prettierd |
Typescript |
prettierd |
pkgs.prettierd |
Typescript React |
prettierd |
pkgs.prettierd |
Java |
google-java-format |
pkgs.google-java-format |
Rust |
rustfmt |
pkgs.rustfmt |
CMake |
cmake_format |
pkgs.cmake-format |
Nix |
alejandra |
pkgs.alejandra |
To start configuring, just add or modify the nix files in ./config
.
If you add a new configuration file, remember to add it to the
config/default.nix
file
To test your configuration simply run the following command
nix run .