2023-11-22 13:11:41 +00:00
|
|
|
{ ... }:
|
2023-11-17 18:00:35 +00:00
|
|
|
{
|
2023-11-22 13:11:41 +00:00
|
|
|
home.extraPythonPackages = [
|
|
|
|
"debugpy"
|
|
|
|
"mccabe"
|
|
|
|
"pycodestyle"
|
|
|
|
"pyflakes"
|
|
|
|
"python-lsp-server"
|
|
|
|
"python-lsp-black"
|
|
|
|
];
|
|
|
|
|
2023-11-17 18:00:35 +00:00
|
|
|
programs.neovim = {
|
|
|
|
nvim-dap = ''
|
2023-11-20 22:44:04 +00:00
|
|
|
require('init.python').nvim_dap()
|
2023-11-17 18:00:35 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
nvim-lspconfig = ''
|
|
|
|
require('init.python').nvim_lspconfig()
|
|
|
|
'';
|
|
|
|
};
|
2023-11-17 22:02:07 +00:00
|
|
|
|
|
|
|
xdg.configFile."nvim/after/ftplugin/python.lua".text = ''
|
|
|
|
require('init.dap').buffer_map()
|
|
|
|
'';
|
2023-11-17 18:00:35 +00:00
|
|
|
}
|