Stop for today

This commit is contained in:
Smaug123
2024-03-24 21:08:06 +00:00
parent b94098e5af
commit 75cebeaa7a
3 changed files with 65 additions and 1 deletions

View File

@@ -162,6 +162,7 @@
ps.pyyaml
ps.std2
]);
debugPyEnv = nixpkgs.python3.withPackages (ps: [ps.debugpy]);
in {
enable = true;
plugins = [
@@ -247,6 +248,11 @@
config = builtins.readFile ./nvim/nvim-dap.lua;
type = "lua";
}
{
plugin = nixpkgs.vimPlugins.nvim-dap-python;
config = builtins.replaceStrings ["%PYTHONENV%"] ["${debugPyEnv}"] (builtins.readFile ./nvim/nvim-dap-python.lua);
type = "lua";
}
];
viAlias = true;
vimAlias = true;