vim-prettier
vim-prettier copied to clipboard
Vim-prettier ignoring .prettierignore
Do you want to request a feature or report a bug? bug
What is the current/expected behavior? I expect the file to not be formatted when it's in prettierignore. Instead, it seems to be not only breaking the code
What version of vim-prettier are you using - (output of :PrettierVersion) ?
1.0.0-alpha
What version of prettier are you using - (output of :PrettierCliVersion) ?
1.8.12
What is your prettier executable path - (output of :PrettierCliPath) ?
prettier
Did this work in previous versions of vim-prettier and/or prettier ? Not sure
Some more detail. I start my typescript service by running node bin/www on a particular file in my project. This project has #!/usr/bin/env node at the top. Prettier mangles this file. If I run prettier from the command line, it formats it correctly. This also works if I just run :Prettier