Skip to content

feat(alejandra): add settings option for indentation config - #513

Open
anders130 wants to merge 1 commit into
numtide:mainfrom
anders130:feat/alejandra
Open

feat(alejandra): add settings option for indentation config#513
anders130 wants to merge 1 commit into
numtide:mainfrom
anders130:feat/alejandra

Conversation

@anders130

Copy link
Copy Markdown

Adds settings options for the alejandra formatter, enabling configuration via a generated alejandra.toml.

Closes #426

Changes

  • programs/alejandra.nix: add programs.alejandra.settings.indentation option (TwoSpaces | FourSpaces | Tabs, default null)

Usage

programs.alejandra = {
  enable = true;
  settings.indentation = "FourSpaces";
};

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Alejandra]: config option

1 participant