google / vim-codefmt

Vim plugin for syntax-aware code formatting
Apache License 2.0
1.11k stars 114 forks source link

Add support for cmake-format. #163

Open antmusco opened 4 years ago

antmusco commented 4 years ago

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

Addresses issue https://github.com/google/vim-codefmt/issues/162

google-cla[bot] commented 4 years ago

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

morxa commented 3 years ago

@antmusco I'd really like to have support for cmake-format, so if you could pick this up again, I'd be very grateful :) Please let me know if I can help!

dbarnett commented 9 months ago

@morxa looks like this got abandoned. If you'd like to pick up the changes and send your own PR we can finish the review and try to get something merged.