nvim: after/ftplugin: Move settings from {js/ts}.vim to {js/ts}.lua

This commit is contained in:
Sanchayan Maity 2023-01-06 10:49:53 +05:30
parent 0c9e0eb164
commit d63a6aeef4
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3
4 changed files with 4 additions and 2 deletions

View file

@ -32,3 +32,5 @@ vim.lsp.start({
} }
} }
}) })
vim.keymap.set('n', 'gq', "<cmd>!npx prettier --write %:p<CR>:e<CR>", { noremap=true, silent=true, buffer=0 })

View file

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

View file

@ -32,3 +32,5 @@ vim.lsp.start({
} }
} }
}) })
vim.keymap.set('n', 'gq', "<cmd>!npx prettier --write %:p<CR>:e<CR>", { noremap=true, silent=true, buffer=0 })

View file

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