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