diff options
author | Vladislav Grechannik <52157081+VlaDexa@users.noreply.github.com> | 2024-04-22 13:27:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-22 07:27:13 -0400 |
commit | f92fb11d681a29f02ba144227142dfcf18297da7 (patch) | |
tree | 5f579090b7c2c0505607e063a76367b73b90f52d | |
parent | 2e68a2c2532d1575b717721a34efa033f4d7a88e (diff) |
Fix deprecation notice of inlay hints (#873)
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |