aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/buf.lua
diff options
context:
space:
mode:
authorLuuk van Baal <luukvbaal@gmail.com>2024-06-23 13:50:21 +0200
committerLewis Russell <me@lewisr.dev>2024-06-24 09:22:27 +0100
commitda4e8dc5b04a82c6dd483f6c5345a81d8b375bec (patch)
treea3052097874f60832016b8d6233cdd2d0c07ea36 /runtime/lua/vim/lsp/buf.lua
parentbe999e6a0e5b251b2b37500d06636d4167334c6e (diff)
downloadrneovim-da4e8dc5b04a82c6dd483f6c5345a81d8b375bec.tar.gz
rneovim-da4e8dc5b04a82c6dd483f6c5345a81d8b375bec.tar.bz2
rneovim-da4e8dc5b04a82c6dd483f6c5345a81d8b375bec.zip
fix(treesitter): do not modify highlight state for _on_spell_nav
Problem: Treesitter highlighter clears the already populated highlight state when performing spell checking while drawing a smoothscrolled topline. Solution: Save and restore the highlight state in the highlighter's _on_spell_nav callback.
Diffstat (limited to 'runtime/lua/vim/lsp/buf.lua')
0 files changed, 0 insertions, 0 deletions