Skip to content

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

Open

Description

@chiphogg

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?

Activity

  1. fowles commented on Sep 2, 2016

    @fowles
    Contributor

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

  2. dbarnett commented on Sep 2, 2016

    @dbarnett
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions