Sanchayan Maity
1ba2fee97d
Different prettier versions format differently. Add a keymapping to invoke the project local prettier. Using Neoformat prettier uses the global install prettier which can give different results.
2 lines
63 B
VimL
2 lines
63 B
VimL
nmap <buffer> <silent> gf :!npx prettier --write %:p<CR>:e<CR>
|