Skip to content

Add more examples of autocmds and NoAutoFormatBuffer to help #52

@dbarnett

Description

@dbarnett
Contributor

Would be nice to have some practical examples in the docs of how to:

  • Auto-format some filetype excluding certain paths.
  • Configure default formatter by filetype w/o enabling auto-format.
  • Auto-format w/ different formatters at different paths.
  • Auto-format but manually disable in some buffers with :NoAutoFormatBuffer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @dbarnett

        Issue actions

          Add more examples of autocmds and NoAutoFormatBuffer to help · Issue #52 · google/vim-codefmt