Add alejandra for nix (#4435)

- Fixes https://github.com/dense-analysis/ale/issues/4434
This commit is contained in:
Nathan Henrie
2023-02-07 01:24:52 -07:00
committed by GitHub
parent 45a3e3f574
commit e1ae009bac
7 changed files with 63 additions and 0 deletions

View File

@@ -7,6 +7,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['python'],
\ 'description': 'Add blank lines before control statements.',
\ },
\ 'alejandra': {
\ 'function': 'ale#fixers#alejandra#Fix',
\ 'suggested_filetypes': ['nix'],
\ 'description': 'The Uncompromising Nix Code Formatter',
\ },
\ 'align_help_tags': {
\ 'function': 'ale#fixers#help#AlignTags',
\ 'suggested_filetypes': ['help'],