From fd12c2b962093cd5d6fd6f657aa9b635783cf17c Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 29 Aug 2023 22:38:08 +0200 Subject: [PATCH] nvim: Remove unnecessary variable declaration --- nvim/.config/nvim/lua/plugins/config/lsp.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nvim/.config/nvim/lua/plugins/config/lsp.lua b/nvim/.config/nvim/lua/plugins/config/lsp.lua index e8f03ca..294b615 100644 --- a/nvim/.config/nvim/lua/plugins/config/lsp.lua +++ b/nvim/.config/nvim/lua/plugins/config/lsp.lua @@ -57,8 +57,7 @@ local function on_attach(client, bufnr) { buffer = bufnr, desc = "Next error" } ) - local prefix = require("which-key").register - prefix({ ["l"] = { name = "+lsp" } }) + require("which-key").register({ ["l"] = { name = "+lsp" } }) map("n", "li", "LspInfo", { buffer = bufnr, desc = "Lsp Info" }) map( "n",