google / google/vim-codefmt

Add more examples of autocmds and NoAutoFormatBuffer to help

Open
#52 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Vim Script
Stars
1.1k
Forks
102
PR merge metrics
No merged PRs in 30d

Description

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`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.