28 lines
489 B
Nix
28 lines
489 B
Nix
|
{ pkgs, ... }:
|
||
|
{
|
||
|
home.packages = with pkgs; [
|
||
|
(python3.withPackages (ps: with ps; [
|
||
|
debugpy
|
||
|
mccabe
|
||
|
pycodestyle
|
||
|
pyflakes
|
||
|
python-lsp-server
|
||
|
python-lsp-black
|
||
|
]))
|
||
|
];
|
||
|
|
||
|
programs.neovim = {
|
||
|
nvim-dap = ''
|
||
|
require('init.python').nvim_dap()
|
||
|
'';
|
||
|
|
||
|
nvim-lspconfig = ''
|
||
|
require('init.python').nvim_lspconfig()
|
||
|
'';
|
||
|
};
|
||
|
|
||
|
xdg.configFile."nvim/after/ftplugin/python.lua".text = ''
|
||
|
require('init.dap').buffer_map()
|
||
|
'';
|
||
|
}
|