vim-codefmt
vim-codefmt copied to clipboard
Vim plugin for syntax-aware code formatting
**Formatter tool** Ormolu seems to be the leading Haskell formatter these days: https://github.com/tweag/ormolu **Filetype(s)** `*.hs`
Solves #210
We should have a command called something like `:CodefmtInfo` that can dump a report on how it's configured wrt the current context and maybe the last known invocation. For example:...
**Formatter tool** [ruff](https://beta.ruff.rs/docs/) **Filetype(s)** - python **Additional context** - 10-100x faster - Ruff can be used to replace [Flake8](https://pypi.org/project/flake8/) (plus dozens of plugins), [isort](https://pypi.org/project/isort/), [pydocstyle](https://pypi.org/project/pydocstyle/), [yesqa](https://github.com/asottile/yesqa), [eradicate](https://pypi.org/project/eradicate/), [pyupgrade](https://pypi.org/project/pyupgrade/), and [autoflake](https://pypi.org/project/autoflake/),...
**Describe the bug** Recently upgraded vim, and I noticed that vim basically froze every time I wrote a file. I opened a typescript file with about 200loc and profiled using...
I'd like to have https://github.com/google/keep-sorted get invoked whenever I save a file, rather adopt https://pre-commit.com/ Could you include some instructions on how to do so?
**Description** Running `:FormatCode` on a cpp source (not header) file causes a trailing line filled with whitespaces to appear at the end of the document. Running `:FormatCode` again and again...
**Formatter tool** [Name of the tool and link to context] [perltidy](https://perltidy.sourceforge.net/) **Filetype(s)** [Applicable languages/filetypes you'd like to use this tool to format] * perl **Additional context** [Add any other context...
**Formatter tool** [Scalafmt](https://scalameta.org/scalafmt/) **Filetype(s)** - Scala **Additional context** [Add any other context or screenshots about the feature request here.]