nvim: after/ftplugin: type/javascript: Add keymapping to invoke prettier
Brings back1ba2fee9
and revertsa567150a
.
This commit is contained in:
parent
49cf726ce0
commit
f0ab1b98bb
2 changed files with 2 additions and 0 deletions
1
nvim/.config/nvim/after/ftplugin/javascript.vim
Normal file
1
nvim/.config/nvim/after/ftplugin/javascript.vim
Normal file
|
@ -0,0 +1 @@
|
|||
nnoremap <buffer> gq :silent !npx prettier --write %:p<CR>:e<CR>
|
1
nvim/.config/nvim/after/ftplugin/typescript.vim
Normal file
1
nvim/.config/nvim/after/ftplugin/typescript.vim
Normal file
|
@ -0,0 +1 @@
|
|||
nnoremap <buffer> gq :silent !npx prettier --write %:p<CR>:e<CR>
|
Loading…
Reference in a new issue