Skip to content

Commit

Permalink
fix(lsp): allow silent=false for lsp keymaps. Fixes #414
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Mar 12, 2023
1 parent f5e010d commit a28885b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazyvim/plugins/lsp/keymaps.lua
Expand Up @@ -66,7 +66,7 @@ function M.on_attach(client, buffer)
local opts = Keys.opts(keys)
---@diagnostic disable-next-line: no-unknown
opts.has = nil
opts.silent = true
opts.silent = opts.silent ~= false
opts.buffer = buffer
vim.keymap.set(keys.mode or "n", keys[1], keys[2], opts)
end
Expand Down

0 comments on commit a28885b

Please sign in to comment.