Skip to content

Commit

Permalink
feat: replace nixfmt with nixfmt-rfc-style
Browse files Browse the repository at this point in the history
  • Loading branch information
ada4a committed Aug 7, 2024
1 parent 6c34a85 commit 9e1aa5f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 15 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,7 @@ You can view this list in vim with `:help conform-formatters`
- [mix](https://hexdocs.pm/mix/main/Mix.Tasks.Format.html) - Format Elixir files using the mix format command.
- [nickel](https://nickel-lang.org/) - Code formatter for the Nickel programming language.
- [nimpretty](https://github.com/nim-lang/nim) - nimpretty is a Nim source code beautifier that follows the official style guide.
- [nixfmt](https://github.com/serokell/nixfmt) - nixfmt is a formatter for Nix code, intended to apply a uniform style.
- [nixfmt-rfc-style](https://github.com/NixOS/nixfmt) - The official (but not yet stable) formatter for Nix code.
- [nixfmt](https://github.com/NixOS/nixfmt) - The official (but not yet stable) formatter for Nix code.
- [nixpkgs_fmt](https://github.com/nix-community/nixpkgs-fmt) - nixpkgs-fmt is a Nix code formatter for nixpkgs.
- [npm-groovy-lint](https://github.com/nvuillam/npm-groovy-lint) - Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files using command line.
- [ocamlformat](https://github.com/ocaml-ppx/ocamlformat) - Auto-formatter for OCaml code.
Expand Down
4 changes: 1 addition & 3 deletions doc/conform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,7 @@ FORMATTERS *conform-formatter
`nickel` - Code formatter for the Nickel programming language.
`nimpretty` - nimpretty is a Nim source code beautifier that follows the
official style guide.
`nixfmt` - nixfmt is a formatter for Nix code, intended to apply a uniform
style.
`nixfmt-rfc-style` - The official (but not yet stable) formatter for Nix code.
`nixfmt` - The official (but not yet stable) formatter for Nix code.
`nixpkgs_fmt` - nixpkgs-fmt is a Nix code formatter for nixpkgs.
`npm-groovy-lint` - Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle
files using command line.
Expand Down
8 changes: 0 additions & 8 deletions lua/conform/formatters/nixfmt-rfc-style.lua

This file was deleted.

4 changes: 2 additions & 2 deletions lua/conform/formatters/nixfmt.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/serokell/nixfmt",
description = "nixfmt is a formatter for Nix code, intended to apply a uniform style.",
url = "https://github.com/NixOS/nixfmt",
description = "The official (but not yet stable) formatter for Nix code",
},
command = "nixfmt",
}

0 comments on commit 9e1aa5f

Please sign in to comment.