mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-18 11:39:47 +01:00
feat: add ruff to formatters
This commit is contained in:
parent
9142a5b9dd
commit
dcb9b16f81
1 changed files with 12 additions and 0 deletions
|
@ -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";
|
defaultDebugger = "debugpy";
|
||||||
|
|
Loading…
Reference in a new issue