From e1ae009bac98d4c2a80ed8f70f68b75dab3bc478 Mon Sep 17 00:00:00 2001 From: Nathan Henrie Date: Tue, 7 Feb 2023 01:24:52 -0700 Subject: Add alejandra for nix (#4435) - Fixes https://github.com/dense-analysis/ale/issues/4434 --- doc/ale-nix.txt | 18 ++++++++++++++++++ doc/ale-supported-languages-and-tools.txt | 1 + doc/ale.txt | 1 + 3 files changed, 20 insertions(+) (limited to 'doc') diff --git a/doc/ale-nix.txt b/doc/ale-nix.txt index 1df7caff..8600c281 100644 --- a/doc/ale-nix.txt +++ b/doc/ale-nix.txt @@ -2,6 +2,24 @@ ALE Nix Integration *ale-nix-options* +=============================================================================== +alejandra *ale-nix-alejandra* + +g:ale_nix_alejandra_executable *g:ale_nix_alejandra_executable* + *b:ale_nix_alejandra_executable* + Type: |String| + Default: `'alejandra'` + + This variable sets the executable used for alejandra. + +g:ale_nix_alejandra_options *g:ale_nix_alejandra_options* + *b:ale_nix_alejandra_options* + Type: |String| + Default: `''` + + This variable can be set to pass additional options to the alejandra fixer. + + =============================================================================== nixfmt *ale-nix-nixfmt* diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt index fea2fd85..705eef41 100644 --- a/doc/ale-supported-languages-and-tools.txt +++ b/doc/ale-supported-languages-and-tools.txt @@ -378,6 +378,7 @@ Notes: * `nimlsp` * `nimpretty` * nix + * `alejandra` * `nix-instantiate` * `nixfmt` * `nixpkgs-fmt` diff --git a/doc/ale.txt b/doc/ale.txt index 38432a60..ae783761 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -3094,6 +3094,7 @@ documented in additional help files. nimlsp................................|ale-nim-nimlsp| nimpretty.............................|ale-nim-nimpretty| nix.....................................|ale-nix-options| + alejandra.............................|ale-nix-alejandra| nixfmt................................|ale-nix-nixfmt| nixpkgs-fmt...........................|ale-nix-nixpkgs-fmt| statix................................|ale-nix-statix| -- cgit v1.2.3