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 b70e867 commit 526c281Copy full SHA for 526c281
init.lua
@@ -586,7 +586,7 @@ require('lazy').setup({
586
-- When you move your cursor, the highlights will be cleared (the second autocommand).
587
local client = vim.lsp.get_client_by_id(event.data.client_id)
588
if client and client.server_capabilities.documentHighlightProvider then
589
- 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 })
590
vim.api.nvim_create_autocmd({ 'CursorHold', 'CursorHoldI' }, {
591
buffer = event.buf,
592
group = highlight_augroup,
0 commit comments