mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-02 21:44:37 +02:00
fix(lsp): allow silent=false
for lsp keymaps. Fixes #414
This commit is contained in:
parent
f5e010d887
commit
a28885be3f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue