diff options
author | David Houston <houstdav000@gmail.com> | 2021-03-23 20:02:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-24 09:02:17 +0900 |
commit | b1f95dc4fb15efb1d5238845c99548f2906e2ba3 (patch) | |
tree | 669b5cba5963b96624628cdc7160b6ba3ef99571 /doc | |
parent | eb0ebe622102cc6da3d7e943a3b739db7b6ed216 (diff) | |
download | ale-b1f95dc4fb15efb1d5238845c99548f2906e2ba3.zip |
Add nixfmt as a Nix fixer. (#3651)
* Add nixfmt fixer.
* Replace manual options pad with ale#Pad()
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ale-nix.txt | 18 | ||||
-rw-r--r-- | doc/ale-supported-languages-and-tools.txt | 1 | ||||
-rw-r--r-- | doc/ale.txt | 1 |
3 files changed, 20 insertions, 0 deletions
diff --git a/doc/ale-nix.txt b/doc/ale-nix.txt index 5b2bd6cb..c38b93db 100644 --- a/doc/ale-nix.txt +++ b/doc/ale-nix.txt @@ -3,6 +3,24 @@ ALE Nix Integration *ale-nix-options* =============================================================================== +nixfmt *ale-nix-nixfmt* + +g:ale_nix_nixfmt_executable *g:ale_nix_nixfmt_executable* + *b:ale_nix_nixfmt_executable* + Type: String + Default: 'nixfmt' + + This variable sets the executable used for nixfmt. + +g:ale_nix_nixfmt_options *g:ale_nix_nixfmt_options* + *b:ale_nix_nixfmt_options* + Type: String + Default: '' + + This variable can be set to pass additional options to the nixfmt fixer. + + +=============================================================================== nixpkgs-fmt *ale-nix-nixpkgs-fmt* g:ale_nix_nixpkgsfmt_executable *g:ale_nix_nixpkgsfmt_executable* diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt index 211b3729..fe19ae63 100644 --- a/doc/ale-supported-languages-and-tools.txt +++ b/doc/ale-supported-languages-and-tools.txt @@ -319,6 +319,7 @@ Notes: * `nimpretty` * nix * `nix-instantiate` + * `nixfmt` * `nixpkgs-fmt` * `rnix-lsp` * nroff diff --git a/doc/ale.txt b/doc/ale.txt index 95365d33..81162348 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -2859,6 +2859,7 @@ documented in additional help files. nimlsp................................|ale-nim-nimlsp| nimpretty.............................|ale-nim-nimpretty| nix.....................................|ale-nix-options| + nixfmt................................|ale-nix-nixfmt| nixpkgs-fmt...........................|ale-nix-nixpkgs-fmt| nroff...................................|ale-nroff-options| write-good............................|ale-nroff-write-good| |