diff options
author | Damjan 9000 <damjan.9000@gmail.com> | 2024-04-22 14:01:50 +0200 |
---|---|---|
committer | Damjan 9000 <damjan.9000@gmail.com> | 2024-04-22 14:01:50 +0200 |
commit | 74136a1db76a314a7da6ade76189732677aedc52 (patch) | |
tree | 49e5adb2215a979190f56e41dafd21818be68709 | |
parent | 98134335b8d33d52e8d8313058be3fa98a0fdce8 (diff) | |
parent | f92fb11d681a29f02ba144227142dfcf18297da7 (diff) |
Merge 'upstream' Fix deprecation notice of inlay hints
-rw-r--r-- | lua/kickstart/plugins/lspconfig.lua | 2 |
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, |