fix: lsp warning

This commit is contained in:
srdtrk 2024-05-23 12:24:01 +02:00
parent 5aeddfdd5d
commit 075450f0ba
1 changed files with 1 additions and 1 deletions

View File

@ -542,7 +542,7 @@ require('lazy').setup({
-- This may be unwanted, since they displace some of your code
if client and client.server_capabilities.inlayHintProvider and vim.lsp.inlay_hint then
map('<leader>th', function()
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled())
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled {})
end, '[T]oggle Inlay [H]ints')
end
end,