Merge pull request #2676 from davidtwco/nixfmt-fixer

Add nixpkgs-fmt fixer.
This commit is contained in:
w0rp
2019-10-07 19:22:01 +01:00
committed by GitHub
7 changed files with 69 additions and 0 deletions
+5
View File
@@ -345,6 +345,11 @@ let s:default_registry = {
\ 'suggested_filetypes': ['ada'],
\ 'description': 'Format Ada files with gnatpp.',
\ },
\ 'nixpkgs-fmt': {
\ 'function': 'ale#fixers#nixpkgsfmt#Fix',
\ 'suggested_filetypes': ['nix'],
\ 'description': 'A formatter for Nix code',
\ },
\}
" Reset the function registry to the default entries.