Add alejandra formatting
This commit is contained in:
parent
f0c270c24e
commit
1dfc2ad119
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue