update keymap

This commit is contained in:
mightypanders 2022-11-10 00:04:39 +01:00
parent dcb7c67d54
commit db9124fbfd

View File

@ -29,7 +29,7 @@ local on_attach = function(client, bufnr)
vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, bufopts) vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, bufopts)
vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, bufopts) vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, bufopts)
vim.keymap.set('n', '<leader>gr', vim.lsp.buf.references, bufopts) vim.keymap.set('n', '<leader>gr', vim.lsp.buf.references, bufopts)
vim.keymap.set('n', '<leader>f', vim.lsp.buf.formatting, bufopts) vim.keymap.set('n', '<leader>f', vim.lsp.buf.format, bufopts)
end end
local lsp_flags = { local lsp_flags = {