nixvim/plugins/lang/python.nix
Lander Van den Bulcke 61feed4086
refactor: complete overhaul
Complete overhaul of repo structure based on nvix.

See https://github.com/niksingh710/nvix

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
2025-10-19 18:25:15 +02:00

35 lines
598 B
Nix

{ lib, pkgs, ... }:
{
plugins = {
lsp.servers = {
pyright = {
enable = true;
settings = {
pyright.diseableOrganizeInputs = true;
python.analysis.ignore = [ "*" ];
};
};
ruff.enable = true;
};
conform-nvim.settings = {
formatters_by_ft = {
python = [
"black"
"isort"
];
};
formatters = {
black = {
command = "${lib.getExe pkgs.black}";
};
isort = {
command = "${lib.getExe pkgs.isort}";
};
};
};
};
}