vim-codefmt icon indicating copy to clipboard operation
vim-codefmt copied to clipboard

Vim plugin for syntax-aware code formatting

Results 54 vim-codefmt issues
Sort by recently updated
recently updated
newest added

**Formatter tool** Ormolu seems to be the leading Haskell formatter these days: https://github.com/tweag/ormolu **Filetype(s)** `*.hs`

new formatter

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:...

enhancement

**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/),...

new formatter

**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...

bug

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...

new formatter

**Formatter tool** [Scalafmt](https://scalameta.org/scalafmt/) **Filetype(s)** - Scala **Additional context** [Add any other context or screenshots about the feature request here.]

new formatter