This commit is contained in:
dlond 2025-05-09 13:16:17 +12:00
parent 2639f27f84
commit 06037c9bb4
4 changed files with 51 additions and 61 deletions

View file

@ -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" },