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

Fix failed to parse buffer when autoformat

Open raziman18 opened this issue 1 year ago • 0 comments

Summary When autoformat is enabled, it tries to format the buffer even if the buffer is not actually a correct file for prettier to format. With this fix, only files with extension js, jsx, ts, tsx will be formatted, other than that it will be ignored.

raziman18 avatar Jan 23 '24 07:01 raziman18