nix-config/home/neovim/default.nix

28 lines
534 B
Nix
Raw Normal View History

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
efm-langserver
hlint
2023-02-03 17:42:08 +01:00
jq
lua54Packages.luacheck
2023-02-03 17:42:08 +01:00
nixfmt
nodePackages.pyright
pylint
2023-03-17 18:25:33 +01:00
ruff
shfmt
stylua
2023-02-03 17:42:08 +01:00
];
extraPython3Packages = pyPkgs: with pyPkgs; [ pylint ];
plugins = [ pkgs.vimPlugins.packer-nvim ];
extraLuaConfig = builtins.readFile ./init.lua;
2022-01-18 09:32:55 +01:00
};
}