Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better instructions for writing a plugin with a custom formatter #74

Open
chiphogg opened this issue Sep 2, 2016 · 2 comments
Open

Comments

@chiphogg
Copy link

chiphogg commented Sep 2, 2016

Maybe I've missed it, but it's not obvious to me how to write a plugin that plays nice with vim-codefmt. We have a custom code formatter at work, and I'd really like to write a lightweight internal plugin that uses codefmt to do the heavy interface lifting.

Any tips?

@fowles
Copy link
Member

fowles commented Sep 2, 2016

A little lame, but the best tip I can give you is copy one of the existing ones.

@dbarnett
Copy link
Contributor

dbarnett commented Sep 2, 2016

I did start a guide at https://github.com/google/vim-codefmt/wiki/Formatter-Integration-Guide, but the parts you're probably interested in are just TODOs at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants