Skip to content

Commit

Permalink
Clear document highlighting using C-L too.
Browse files Browse the repository at this point in the history
Mostly only matters if I manually call document_highlighting() since
otherwise the CursorMoved I have will do this.
  • Loading branch information
Julian committed Apr 4, 2024
1 parent ff106fb commit 1b287fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ vim.keymap.set(
vim.cmd.diffupdate()
require('notify').dismiss()
end)
vim.lsp.buf.clear_references()
return '<C-L>'
end,
{ expr = true }
Expand Down

0 comments on commit 1b287fc

Please sign in to comment.