review suggestion

Co-authored-by: Tom Kuson <mail@tjkuson.me>
This commit is contained in:
srdtrk 2024-05-25 04:42:21 +07:00 committed by GitHub
parent 075450f0ba
commit a87d08654d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -542,7 +542,7 @@ require('lazy').setup({
-- This may be unwanted, since they displace some of your code -- This may be unwanted, since they displace some of your code
if client and client.server_capabilities.inlayHintProvider and vim.lsp.inlay_hint then if client and client.server_capabilities.inlayHintProvider and vim.lsp.inlay_hint then
map('<leader>th', function() map('<leader>th', function()
vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled {}) vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled { bufnr = event.buf })
end, '[T]oggle Inlay [H]ints') end, '[T]oggle Inlay [H]ints')
end end
end, end,