Merge remote-tracking branch 'upstream/main' into add-mini-nvim

This commit is contained in:
LilleAila 2025-01-17 21:39:02 +01:00
commit cb1462f1c1
No known key found for this signature in database
GPG key ID: D1ACCDCF2B9B9799
3 changed files with 42 additions and 15 deletions

View file

@ -106,6 +106,24 @@
)
'';
};
ruff = {
package = pkgs.writeShellApplication {
name = "ruff";
runtimeInputs = [pkgs.ruff];
text = ''
ruff format -
'';
};
nullConfig = ''
table.insert(
ls_sources,
null_ls.builtins.formatting.ruff.with({
command = "${cfg.format.package}/bin/ruff",
})
)
'';
};
};
defaultDebugger = "debugpy";