We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be6284d commit e86000bCopy full SHA for e86000b
init.lua
@@ -520,7 +520,7 @@ require('lazy').setup({
520
-- When you move your cursor, the highlights will be cleared (the second autocommand).
521
local client = vim.lsp.get_client_by_id(event.data.client_id)
522
if client and client.server_capabilities.documentHighlightProvider then
523
- local highlight_augroup = vim.api.nvim_create_augroup('kickstart-lsp-highlight', { clear = true })
+ local highlight_augroup = vim.api.nvim_create_augroup('kickstart-lsp-highlight', { clear = false })
524
vim.api.nvim_create_autocmd({ 'CursorHold', 'CursorHoldI' }, {
525
buffer = event.buf,
526
group = highlight_augroup,
0 commit comments