Add alejandra formatting

This commit is contained in:
Thomas Avé 2026-03-11 18:37:59 +07:00
parent f0c270c24e
commit 1dfc2ad119
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
# codeium # codeium
nixd nixd
alejandra
clang-tools clang-tools
llvmPackages.libcxxClang llvmPackages.libcxxClang
go go

View File

@ -3,6 +3,7 @@ return {
opts = { opts = {
formatters_by_ft = { formatters_by_ft = {
python = { 'ruff_format' }, python = { 'ruff_format' },
nix = { 'alejandra' },
}, },
format_on_save = { format_on_save = {
-- These options will be passed to conform.format() -- These options will be passed to conform.format()