Skip to content

Commit

Permalink
fix inlay hints
Browse files Browse the repository at this point in the history
  • Loading branch information
mosheavni committed Apr 18, 2024
1 parent c759f63 commit c623e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .config/nvim/lua/user/lsp/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ return function(bufnr)

-- Inlay hints
nnoremap('<leader>lh', function()
vim.lsp.inlay_hint(0, nil)
vim.lsp.inlay_hint.enable(0, not vim.lsp.inlay_hint.is_enabled())
end, returnOpts 'Set qflist')

-- Diagnostics
Expand Down

0 comments on commit c623e78

Please sign in to comment.