2024-05-07 22:49:00 -04:00
|
|
|
{
|
2024-05-20 22:41:45 -04:00
|
|
|
basedpyrightPkgs,
|
2024-05-07 22:49:00 -04:00
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit (config.vars) neovimIde;
|
|
|
|
in
|
|
|
|
lib.mkIf neovimIde {
|
|
|
|
programs = {
|
|
|
|
neovim = {
|
|
|
|
withPython3 = true;
|
|
|
|
|
2024-05-11 20:10:45 -04:00
|
|
|
extraPackages = [
|
2024-05-20 22:41:45 -04:00
|
|
|
basedpyrightPkgs.basedpyright
|
2024-05-07 22:49:00 -04:00
|
|
|
];
|
|
|
|
|
2024-05-11 20:10:45 -04:00
|
|
|
extraLuaConfig =
|
|
|
|
/*
|
|
|
|
lua
|
|
|
|
*/
|
|
|
|
''
|
|
|
|
require('lspconfig').basedpyright.setup(
|
|
|
|
require('coq').lsp_ensure_capabilities({}));
|
|
|
|
'';
|
2024-05-07 22:49:00 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|