nixos-configs/common/home/neovim/langs/python.nix
matt1432 0861880a20
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: modularize flake and import nixpkgs
2024-05-20 22:41:45 -04:00

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({}));
'';
};
};
}