diff --git a/modules/plugins/languages/python.nix b/modules/plugins/languages/python.nix index 61aedcee..876093c0 100644 --- a/modules/plugins/languages/python.nix +++ b/modules/plugins/languages/python.nix @@ -106,6 +106,18 @@ ) ''; }; + + ruff = { + package = pkgs.ruff; + nullConfig = '' + table.insert( + ls_sources, + null_ls.builtins.formatting.ruff.with({ + command = "${cfg.format.package}/bin/ruff", + }) + ) + ''; + }; }; defaultDebugger = "debugpy";