aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUghur Alakbarov <58857108+ugur-a@users.noreply.github.com>2024-08-07 18:03:08 +0200
committerGitHub <noreply@github.com>2024-08-07 09:03:08 -0700
commit2122fe2ff01e9a542fc358ee9398ce2cbddf345d (patch)
tree769659e48e35cd82fa7959280d386b076cd0b0fb
parenteff40c4f5fdf7ae8f269b258047d1bd7cee50f02 (diff)
fix(nixfmt): update repo link and description (#505)
* feat(formatters): add nixfmt-rfc-style docs: add nixfmt-rfc-style to readme and conform.txt * feat: replace nixfmt with nixfmt-rfc-style * doc: ensure description has period at the end --------- Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
-rw-r--r--README.md2
-rw-r--r--doc/conform.txt3
-rw-r--r--lua/conform/formatters/nixfmt.lua4
3 files changed, 4 insertions, 5 deletions
diff --git a/README.md b/README.md
index e3b0f41..7da4e1a 100644
--- a/README.md
+++ b/README.md
@@ -283,7 +283,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](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.
diff --git a/doc/conform.txt b/doc/conform.txt
index 983683d..105b3b7 100644
--- a/doc/conform.txt
+++ b/doc/conform.txt
@@ -394,8 +394,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` - 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.
diff --git a/lua/conform/formatters/nixfmt.lua b/lua/conform/formatters/nixfmt.lua
index 27029d5..14594d9 100644
--- a/lua/conform/formatters/nixfmt.lua
+++ b/lua/conform/formatters/nixfmt.lua
@@ -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",
}