From d849392e2894ae55a5502431a4f0298824aace2f Mon Sep 17 00:00:00 2001 From: mk1121 Date: Fri, 26 Aug 2022 23:44:15 +0600 Subject: [PATCH] fix formatting key-binding --- lua/user/whichkey.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/user/whichkey.lua b/lua/user/whichkey.lua index 401d4b5..7edac83 100644 --- a/lua/user/whichkey.lua +++ b/lua/user/whichkey.lua @@ -142,7 +142,7 @@ local mappings = { "Telescope lsp_workspace_diagnostics", "Workspace Diagnostics", }, - f = { "lua vim.lsp.buf.format{async=true}", "Format" }, + f = { "lua vim.lsp.buf.formatting{async=true}", "Format" }, i = { "LspInfo", "Info" }, I = { "LspInstallInfo", "Installer Info" }, j = {