From 34bf50f34195aea4cd10236695f3c05bf1e3e672 Mon Sep 17 00:00:00 2001 From: Vladislav Grechannik <52157081+VlaDexa@users.noreply.github.com> Date: Mon, 22 Apr 2024 13:27:13 +0200 Subject: Fix deprecation notice of inlay hints (#873) --- nvim/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nvim/init.lua') 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('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, -- cgit v1.2.3