Open itmecho opened 3 years ago
@itmecho It's not an answer to your question, but if you're formatting a TSX file you may need to configure the typescriptreact
filetype too:
let g:neoformat_enabled_typescriptreact = ['prettier']
Tripped me up for a while!
I have
g:neoformat_enabled_typescript = ['prettier']
in my config to stop neoformat from usingclang-format
whenprettier
fails but it doesn't seem to be working.I can see that the setting is configured properly but the enabled formatters don't seem to be affected?