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 8c0798d commit eb987aeCopy full SHA for eb987ae
init.lua
@@ -514,7 +514,7 @@ require('lazy').setup({
514
-- When you move your cursor, the highlights will be cleared (the second autocommand).
515
local client = vim.lsp.get_client_by_id(event.data.client_id)
516
if client and client.server_capabilities.documentHighlightProvider then
517
- 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 })
518
vim.api.nvim_create_autocmd({ 'CursorHold', 'CursorHoldI' }, {
519
buffer = event.buf,
520
group = highlight_augroup,
0 commit comments