Add conform.nvim
This commit is contained in:
parent
1a0c48ae00
commit
e462372892
2 changed files with 29 additions and 3 deletions
|
|
@ -75,9 +75,7 @@ vim.api.nvim_create_autocmd('LspAttach', {
|
|||
vim.keymap.set('n', '<leader>ra', vim.lsp.buf.rename, opts)
|
||||
vim.keymap.set({ 'n', 'v' }, '<leader>ca', vim.lsp.buf.code_action, opts)
|
||||
vim.keymap.set('n', 'gr', telescope.lsp_references, opts)
|
||||
vim.keymap.set('n', '<leader>fm', function()
|
||||
vim.lsp.buf.format { async = true }
|
||||
end, opts)
|
||||
vim.keymap.set({ 'n', 'v' }, '<leader>fm', ":Format<cr>", opts)
|
||||
end,
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue