dotfiles/nvim/.config/nvim/after/ftplugin/javascript.vim

2 lines
65 B
VimL

nnoremap <buffer> gq :silent !npx prettier --write %:p<CR>:e<CR>