From 5de0bd4e76688b1bf0a8e14f221f045548258609 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Fri, 1 Jul 2022 14:12:26 +0200 Subject: [PATCH] fix nvim config changes in lspconf api --- .config/nvim/lua/pluginconf/lspconf.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nvim/lua/pluginconf/lspconf.lua b/.config/nvim/lua/pluginconf/lspconf.lua index 9260b47..df26c11 100644 --- a/.config/nvim/lua/pluginconf/lspconf.lua +++ b/.config/nvim/lua/pluginconf/lspconf.lua @@ -60,4 +60,4 @@ map("n", "-a", "lua vim.lsp.buf.code_action()", opts) map("n", "gr", "lua vim.lsp.buf.references()", opts) map("n", "e", "lua vim.diagnostic.open_float()", opts) map("n", "-d", "lua vim.diagnostic.goto_next()", opts) -map("n", "-r", "lua vim.lsp.buf.format { asnyc = true }", opts) +map("n", "-r", "lua vim.lsp.buf.formatting()", opts)