vim-codefmt icon indicating copy to clipboard operation
vim-codefmt copied to clipboard

Add more examples of autocmds and NoAutoFormatBuffer to help

Open dbarnett opened this issue 10 years ago • 0 comments

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.

dbarnett avatar Jul 31 '15 16:07 dbarnett