nvim: Remove unnecessary variable declaration

This commit is contained in:
Marty Oehme 2023-08-29 22:38:08 +02:00
parent 0033116a73
commit fd12c2b962
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A

View file

@ -57,8 +57,7 @@ local function on_attach(client, bufnr)
{ buffer = bufnr, desc = "Next error" } { buffer = bufnr, desc = "Next error" }
) )
local prefix = require("which-key").register require("which-key").register({ ["<localleader>l"] = { name = "+lsp" } })
prefix({ ["<localleader>l"] = { name = "+lsp" } })
map("n", "<localleader>li", "<cmd>LspInfo<cr>", { buffer = bufnr, desc = "Lsp Info" }) map("n", "<localleader>li", "<cmd>LspInfo<cr>", { buffer = bufnr, desc = "Lsp Info" })
map( map(
"n", "n",