nvim: after/ftplugin: type/javascript: Add keymapping to invoke prettier

Brings back 1ba2fee9 and reverts a567150a.
This commit is contained in:
Sanchayan Maity 2021-11-27 12:29:43 +05:30
parent 49cf726ce0
commit f0ab1b98bb
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
nnoremap <buffer> gq :silent !npx prettier --write %:p<CR>:e<CR>

View File

@ -0,0 +1 @@
nnoremap <buffer> gq :silent !npx prettier --write %:p<CR>:e<CR>