Open zhaozhiming opened 7 years ago
Which version of prettier are you using?
@sbdchd 1.5.2
➜ ~ prettier -v
1.5.2
@sbdchd
Hi, I have solved this problem. I change the neoformat config as follow and it's work.
You can close this issue.
Thanks.
" remove
" let g:neoformat_try_formatprg = 1
" add
let g:neoformat_run_all_formatters = 1
@sbdchd I think the document is not clear for the file format config.
I want to help, but I really don't know which is the correct and best config way for the file format.
@sbdchd I think this issue can't be closed yet.
I found when I add the let g:neoformat_run_all_formatters = 1
which it work for css format, but it no work for js format now.
So I think it's a config problem with neoformat, maybe something I make wrong.
Hi, I have updated my neoformat and prettier to the latest version, but it seems no work for formatting css files. Please help, thanks.
I use command
:Neoformat prettier
when editing css files, but it reportNeoformat: formatters prettier failed to run
. I use the same command and work in js file.My vimrc file config as follow:
.vimrc
.vimrc.bundle