We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1b138b commit 93e4be8Copy full SHA for 93e4be8
lua/keymap/helpers.lua
@@ -45,7 +45,7 @@ _G._telescope_collections = function(picker_type)
45
end
46
47
_G._toggle_inlayhint = function()
48
- local is_enabled = vim.lsp.inlay_hint.is_enabled()
+ local is_enabled = vim.lsp.inlay_hint.is_enabled({ bufnr = 0 })
49
50
vim.lsp.inlay_hint.enable(not is_enabled)
51
vim.notify(
0 commit comments