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

Readme: add note about configuring autoformat when config is present

Open jonpacker opened this issue 3 years ago • 2 comments

Summary

Adds a simple note to the autoformat_config_present section documenting that the setting does nothing without switching off autoformat_require_pragma first. I found this confusing when setting up this plugin myself, and the reactions in #191 seem to indicate I wasn't alone 😅

jonpacker avatar Nov 25 '21 11:11 jonpacker

Actually, I think this comment https://github.com/prettier/vim-prettier/issues/191#issuecomment-614280489 is instructive and should also be added (with slight modification) to the readme.md.

TimDaub avatar Mar 10 '22 18:03 TimDaub

I was configuring vim-prettier today and run into the issue until I saw the link posted by @TimDaub and found this MR.

Really feel like this MR should be merged but I agree it would be even better with the comment posted.

jtheoof avatar May 19 '22 00:05 jtheoof