2022-01-18 09:32:55 +01:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.neovim = {
|
2023-02-03 17:42:08 +01:00
|
|
|
enable = true;
|
|
|
|
viAlias = true;
|
|
|
|
vimAlias = true;
|
|
|
|
vimdiffAlias = true;
|
|
|
|
withPython3 = true;
|
|
|
|
extraPackages = with pkgs; [
|
2023-07-22 00:33:57 +02:00
|
|
|
ansible-language-server
|
|
|
|
beancount-language-server
|
2023-02-03 17:42:08 +01:00
|
|
|
black
|
2023-07-22 00:33:57 +02:00
|
|
|
docker-compose-language-service
|
2023-02-18 17:59:03 +01:00
|
|
|
efm-langserver
|
2023-07-22 00:33:57 +02:00
|
|
|
gcc
|
2023-02-18 17:59:03 +01:00
|
|
|
hlint
|
2023-07-22 00:33:57 +02:00
|
|
|
ltex-ls
|
|
|
|
lua-language-server
|
2023-02-18 17:59:03 +01:00
|
|
|
lua54Packages.luacheck
|
2023-07-22 00:33:57 +02:00
|
|
|
nixd
|
|
|
|
nixpkgs-fmt
|
|
|
|
nodePackages.dockerfile-language-server-nodejs
|
2023-02-03 17:42:08 +01:00
|
|
|
nodePackages.pyright
|
2023-07-22 00:33:57 +02:00
|
|
|
ruff-lsp
|
|
|
|
shellcheck
|
2023-02-18 17:59:03 +01:00
|
|
|
shfmt
|
2023-07-22 00:33:57 +02:00
|
|
|
sqlfluff
|
|
|
|
terraform-ls
|
|
|
|
tflint
|
|
|
|
vscode-langservers-extracted
|
2023-02-03 17:42:08 +01:00
|
|
|
];
|
|
|
|
extraPython3Packages = pyPkgs: with pyPkgs; [ pylint ];
|
2023-02-18 17:59:03 +01:00
|
|
|
plugins = [ pkgs.vimPlugins.packer-nvim ];
|
|
|
|
extraLuaConfig = builtins.readFile ./init.lua;
|
2022-01-18 09:32:55 +01:00
|
|
|
};
|
|
|
|
}
|