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