refactor
This commit is contained in:
parent
2639f27f84
commit
06037c9bb4
4 changed files with 51 additions and 61 deletions
|
|
@ -14,7 +14,10 @@ return {
|
|||
lua = { 'stylua' },
|
||||
c = { 'clang_format' },
|
||||
cpp = { 'clang_format' },
|
||||
python = { 'isort', 'black' },
|
||||
-- Use ruff for Python formatting (includes isort and is faster than black
|
||||
-- Ensure 'ruff' is installed via Home Manager (pkgs.ruff)
|
||||
python = { 'ruff_format', 'ruff_fix' },
|
||||
-- python = { 'isort', 'black' },
|
||||
nix = { 'nixpkgs-fmt' }, -- Add nix formatter
|
||||
-- Add other filetypes and formatters, e.g.:
|
||||
-- javascript = { "prettier" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue