nixos-configs/common/home/neovim/langs/python.nix
matt1432 ac2b846662
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(nvim): split up lang configs in separate files
2024-05-07 22:49:00 -04:00

24 lines
346 B
Nix

{
config,
lib,
pkgs,
...
}: let
inherit (config.vars) neovimIde;
inherit (pkgs) vimPlugins;
in
lib.mkIf neovimIde {
programs = {
neovim = {
withPython3 = true;
extraPython3Packages = ps: [
ps.pylint
];
plugins = [
vimPlugins.coc-pyright
];
};
};
}