summaryrefslogtreecommitdiffstats
path: root/nvim/init.lua
diff options
context:
space:
mode:
authorVladislav Grechannik <52157081+VlaDexa@users.noreply.github.com>2024-04-22 13:27:13 +0200
committerGitHub <noreply@github.com>2024-04-22 07:27:13 -0400
commit34bf50f34195aea4cd10236695f3c05bf1e3e672 (patch)
treedc08897396186723d60c0ac289cc06ba281845bb /nvim/init.lua
parentbc19e5cf996542777c5d2a003823249a20ed43ef (diff)
downloaddots-34bf50f34195aea4cd10236695f3c05bf1e3e672.tar.gz
Fix deprecation notice of inlay hints (#873)
Diffstat (limited to 'nvim/init.lua')
-rw-r--r--nvim/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nvim/init.lua b/nvim/init.lua
index 3c70d73..256da5b 100644
--- a/nvim/init.lua
+++ b/nvim/init.lua
@@ -531,7 +531,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(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,