formatting -> format

This commit is contained in:
mightypanders 2022-11-26 14:56:56 +01:00
parent 218c64abd7
commit ded6254f6f

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