diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | lua/conform/formatters/pangu.lua | 9 |
2 files changed, 10 insertions, 0 deletions
@@ -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. diff --git a/lua/conform/formatters/pangu.lua b/lua/conform/formatters/pangu.lua new file mode 100644 index 0000000..54b60ca --- /dev/null +++ b/lua/conform/formatters/pangu.lua @@ -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, +} |