aboutsummaryrefslogtreecommitdiff
path: root/lua/kickstart/plugins/lspconfig.lua
diff options
context:
space:
mode:
authorDamjan 9000 <damjan.9000@gmail.com>2024-04-22 14:01:50 +0200
committerDamjan 9000 <damjan.9000@gmail.com>2024-04-22 14:01:50 +0200
commit74136a1db76a314a7da6ade76189732677aedc52 (patch)
tree49e5adb2215a979190f56e41dafd21818be68709 /lua/kickstart/plugins/lspconfig.lua
parent98134335b8d33d52e8d8313058be3fa98a0fdce8 (diff)
parentf92fb11d681a29f02ba144227142dfcf18297da7 (diff)
Merge 'upstream' Fix deprecation notice of inlay hints
Diffstat (limited to 'lua/kickstart/plugins/lspconfig.lua')
-rw-r--r--lua/kickstart/plugins/lspconfig.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/kickstart/plugins/lspconfig.lua b/lua/kickstart/plugins/lspconfig.lua
index 5cbefce..45fb5ed 100644
--- a/lua/kickstart/plugins/lspconfig.lua
+++ b/lua/kickstart/plugins/lspconfig.lua
@@ -122,7 +122,7 @@ return {
-- 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(0, 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,