28 lines
480 B
Nix
28 lines
480 B
Nix
{
|
|
basedpyrightPkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (config.vars) neovimIde;
|
|
in
|
|
lib.mkIf neovimIde {
|
|
programs = {
|
|
neovim = {
|
|
withPython3 = true;
|
|
|
|
extraPackages = [
|
|
basedpyrightPkgs.basedpyright
|
|
];
|
|
|
|
extraLuaConfig =
|
|
/*
|
|
lua
|
|
*/
|
|
''
|
|
require('lspconfig').basedpyright.setup(
|
|
require('coq').lsp_ensure_capabilities({}));
|
|
'';
|
|
};
|
|
};
|
|
}
|