nixos-configs/common/home/neovim/langs/python.nix
matt1432 1e448f8ae2
All checks were successful
Discord / discord commits (push) Has been skipped
chore: switch to nixos-unstable-small
2024-05-25 20:28:35 -04:00

28 lines
456 B
Nix

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