From 3a73f50ffc71e35744d5914a42c4c062b91b1c3b Mon Sep 17 00:00:00 2001 From: Vladislav Date: Mon, 22 Apr 2024 11:36:02 +0200 Subject: [PATCH] Fix deprecation notice of inlay hints --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 3c70d736..256da5b8 100644 --- a/init.lua +++ b/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,