diff --git a/nvim/lua/plugins/config/lsp.lua b/nvim/lua/plugins/config/lsp.lua index d718dec..8556378 100644 --- a/nvim/lua/plugins/config/lsp.lua +++ b/nvim/lua/plugins/config/lsp.lua @@ -41,7 +41,7 @@ vim.api.nvim_create_autocmd('LspAttach', { vim.keymap.set('n', 'dec', vim.lsp.buf.declaration, opts) if vim.lsp.inlay_hint then - vim.keymap.set('n', 'ih', function() vim.lsp.inlay_hint(0, nil) end, opts) + vim.keymap.set('n', 'ih', function() vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled()) end, opts) end --vim.keymap.set('n', '', vim.lsp.buf.signature_help, opts)