Skip to content

Commit

Permalink
feat: add pangu (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
z775729168 authored Nov 10, 2023
1 parent 66affb4 commit f0780e2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ You can view this list in vim with `:help conform-formatters`
- [nixfmt](https://github.com/serokell/nixfmt) - nixfmt is a formatter for Nix code, intended to apply a uniform style.
- [nixpkgs_fmt](https://github.com/nix-community/nixpkgs-fmt) - nixpkgs-fmt is a Nix code formatter for nixpkgs.
- [ocamlformat](https://github.com/ocaml-ppx/ocamlformat) - Auto-formatter for OCaml code.
- [pangu](https://github.com/vinta/pangu.py) - Insert whitespace between CJK and half-width characters.
- [perlimports](https://github.com/perl-ide/App-perlimports) - Make implicit Perl imports explicit.
- [perltidy](https://github.com/perltidy/perltidy) - Perl::Tidy, a source code formatter for Perl.
- [pg_format](https://github.com/darold/pgFormatter) - PostgreSQL SQL syntax beautifier.
Expand Down
9 changes: 9 additions & 0 deletions lua/conform/formatters/pangu.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---@type conform.FileFormatterConfig
return {
meta = {
url = "https://github.com/vinta/pangu.py",
description = "Insert whitespace between CJK and half-width characters",
},
command = "pangu",
stdin = true,
}

0 comments on commit f0780e2

Please sign in to comment.