From 2122fe2ff01e9a542fc358ee9398ce2cbddf345d Mon Sep 17 00:00:00 2001 From: Ughur Alakbarov <58857108+ugur-a@users.noreply.github.com> Date: Wed, 7 Aug 2024 18:03:08 +0200 Subject: 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> --- README.md | 2 +- doc/conform.txt | 3 +-- lua/conform/formatters/nixfmt.lua | 4 ++-- 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", } -- cgit v1.2.3-70-g09d2