Added python capabilities

This commit is contained in:
Fred Drake
2024-10-02 22:47:59 -04:00
parent 50675505f7
commit b3c563af54
4 changed files with 55 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
{
plugins = {
conform-nvim = {
enable = true;
settings = { formatters_by_ft.python = [ "black" ]; };
};
lsp.servers.pylsp = {
enable = true;
# pythonPackage = "pkgs.python312Full";
settings.plugins = {
black.enabled = true;
flake8.enabled = true;
isort.enabled = true;
jedi.enabled = true;
mccabe.enabled = true;
pycodestyle.enabled = true;
pydocstyle.enabled = true;
pyflakes.enabled = true;
pylint.enabled = true;
rope.enabled = true;
yapf.enabled = true;
};
};
none-ls.sources.formatting.black.enable = true;
};
}