formatting

This commit is contained in:
Markus Dieckmann 2022-11-11 14:42:43 +01:00
parent 6e87ab4e8b
commit 623a20302e

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 = {