mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-28 01:34:33 +00:00
61 lines
1.1 KiB
Nix
61 lines
1.1 KiB
Nix
{pkgs, ...}: {
|
|
programs.neovim = {
|
|
enable = true;
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
|
|
# Packages required for:
|
|
#
|
|
# - Mason to build various language servers / linters / formatters from source
|
|
# - Runtime dependencies of plugins / lang servers / ...
|
|
withNodeJs = true;
|
|
withPython3 = true;
|
|
extraPackages = with pkgs; [
|
|
# Tools for building Mason packages
|
|
go
|
|
python3
|
|
rustc
|
|
cargo
|
|
gcc
|
|
cmake
|
|
gnumake
|
|
|
|
# lang servers
|
|
lua-language-server
|
|
rust-analyzer
|
|
taplo
|
|
gopls
|
|
marksman
|
|
yaml-language-server
|
|
ruff
|
|
neocmakelsp
|
|
bash-language-server
|
|
nixd
|
|
emmet-language-server
|
|
vscode-langservers-extracted
|
|
|
|
# Linters / formatters
|
|
stylua
|
|
shfmt
|
|
gofumpt
|
|
gotools
|
|
sqlfluff
|
|
hadolint
|
|
markdownlint-cli2
|
|
nodePackages.prettier
|
|
nodePackages.eslint
|
|
shellcheck
|
|
shfmt
|
|
alejandra
|
|
deadnix
|
|
statix
|
|
|
|
# Other tools / utilities
|
|
ripgrep
|
|
fd
|
|
jq
|
|
lazygit
|
|
];
|
|
};
|
|
}
|