vim-autoformat / vim-autoformat

Provide easy code formatting in Vim by integrating existing code formatters.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New default verbose mode settings seem a little too obtrusive

btalb opened this issue · comments

Commit #336 adds a lot of spam to auto-formatting by default.

For example, formatting my .vimrc now prints these errors:

Error detected while processing function <SNR>40_TryAllFormatters[5]..<SNR>40_find_formatters:
line   43:
No formatters defined for supertype vim
line   58:
No formatters defined for filetype 'vim'.

Python also does similar, spitting out errors about formatters not being found which I don't use anyway (yapf still successfully formats the file, there's just a lot of 'noise' with it).

The changes look great, and will be useful for debugging pesky formatters that aren't playing nice.

I'm just not sure this part of the change was for the best.

Thoughts?

It seemed I overlooked that defaultvalue change while reviewing. Thanks for reporting. It should be fixed now.