fix(nvim): more inlay_hints problems
This commit is contained in:
parent
87efdebd12
commit
e1069e035a
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
||||||
end
|
end
|
||||||
-- Some Lsp servers do not advertise inlay hints properly so enable this keybinding regardless
|
-- Some Lsp servers do not advertise inlay hints properly so enable this keybinding regardless
|
||||||
vim.keymap.set('n', '<space>ht', function()
|
vim.keymap.set('n', '<space>ht', function()
|
||||||
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled(), { bufnr = 0 })
|
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled(0), { bufnr = 0 })
|
||||||
end,
|
end,
|
||||||
{ desc = '[H]ints [T]oggle', ${opts} }
|
{ desc = '[H]ints [T]oggle', ${opts} }
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue