Fix some lsp warnings
This commit is contained in:
parent
5e81ae8379
commit
130442712b
2 changed files with 2 additions and 2 deletions
lua/plugins/configs
|
@ -27,7 +27,7 @@ local function button(sc, txt, keybind)
|
|||
type = "button",
|
||||
val = txt,
|
||||
on_press = function()
|
||||
local key = vim.api.nvim_replace_termcodes(sc_, true, false, true)
|
||||
local key = vim.api.nvim_replace_termcodes(sc_, true, false, true) or ""
|
||||
vim.api.nvim_feedkeys(key, "normal", false)
|
||||
end,
|
||||
opts = opts,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue