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; [
|
|
|
|
black
|
2023-02-18 17:59:03 +01:00
|
|
|
efm-langserver
|
|
|
|
hlint
|
2023-02-03 17:42:08 +01:00
|
|
|
jq
|
2023-02-18 17:59:03 +01:00
|
|
|
lua54Packages.luacheck
|
2023-02-03 17:42:08 +01:00
|
|
|
nixfmt
|
|
|
|
nodePackages.pyright
|
2023-02-18 17:59:03 +01:00
|
|
|
pylint
|
2023-03-17 18:25:33 +01:00
|
|
|
ruff
|
2023-02-18 17:59:03 +01:00
|
|
|
shfmt
|
|
|
|
stylua
|
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
|
|
|
};
|
|
|
|
}
|