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

We used to have vroom run automatically on every pull request using Travis CI hooks, but those have been disabled. We should delete the remnant .travis.yml file and get the...

enhancement

ktlint (https://github.com/pinterest/ktlint) can format Kotlin code, and it'd be nice to have it integrated into codefmt.

new formatter

**Describe the bug** The `dart format` command replaces `dartfmt`. Dart SDK version: 2.16.1 already removed `dartfmt` command line tool. I try to use alias as a work around, but not...

bug

At https://github.com/google/vim-codefmt/blob/293c208/autoload/codefmt/clangformat.vim#L32-34, we have this code: ```viml let l:version_string = matchstr(l:version_output, '\v\d+(.\d+)+') " If no version string was matched, cached version will be an empty list. let s:clang_format_version = map(split(l:version_string,...

bug

Second attempt to push XML rebased to ensure no original email

cla: yes

When using goimports via our gofmt formatter as [suggested in the docs](https://github.com/google/vim-codefmt/blob/1025977/doc/codefmt.txt#L42), the goimports path-based inference doesn't work because we don't tell goimports about the path. It does support a...

enhancement

Includes `autoload/codefmt/cmakeformat.vim` which adds support for `cmake-format` for formatting CMake files. Adds two additional flags, `cmake_format_executable`, which defaults to `cmake-format`, and `cmake_format_config`, which defaults to the empty string (i.e. default...

cla: yes

**Formatter tool** LuaFormatter https://github.com/Koihik/LuaFormatter **Filetype(s)** lua **Additional context** luaformatterfiveone is unmaintained and outdated. It would be nice to add LuaFormatter

new formatter

**Describe the bug** I have set yapf as my default formatter in .vimrc and whenever I save a .py file, it clears the buffer. And if I change it to...

bug