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 72cfe63 commit f18d0a1Copy full SHA for f18d0a1
init.lua
@@ -522,7 +522,7 @@ require('lazy').setup({
522
-- When you move your cursor, the highlights will be cleared (the second autocommand).
523
local client = vim.lsp.get_client_by_id(event.data.client_id)
524
if client and client.server_capabilities.documentHighlightProvider then
525
- 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 })
526
vim.api.nvim_create_autocmd({ 'CursorHold', 'CursorHoldI' }, {
527
buffer = event.buf,
528
group = highlight_augroup,
0 commit comments