fix formatting keybind

This commit is contained in:
Markus Dieckmann 2022-10-30 02:02:17 +02:00
parent 63c655642e
commit dcb7c67d54

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.format, bufopts) vim.keymap.set('n', '<leader>f', vim.lsp.buf.formatting, bufopts)
end end
local lsp_flags = { local lsp_flags = {