From ded6254f6f41902a948b47bf8d2a4f7f7a4980ad Mon Sep 17 00:00:00 2001 From: mightypanders Date: Sat, 26 Nov 2022 14:56:56 +0100 Subject: [PATCH] formatting -> format --- nvim/lua/new_lsp_conf.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/lua/new_lsp_conf.lua b/nvim/lua/new_lsp_conf.lua index 29e04e1..6df73a6 100644 --- a/nvim/lua/new_lsp_conf.lua +++ b/nvim/lua/new_lsp_conf.lua @@ -29,7 +29,7 @@ local on_attach = function(client, bufnr) vim.keymap.set('n', 'rn', vim.lsp.buf.rename, bufopts) vim.keymap.set('n', 'ca', vim.lsp.buf.code_action, bufopts) vim.keymap.set('n', 'gr', vim.lsp.buf.references, bufopts) - vim.keymap.set('n', 'f', vim.lsp.buf.formatting, bufopts) + vim.keymap.set('n', 'f', vim.lsp.buf.format, bufopts) end local lsp_flags = {