summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_ftplugin/lua.lua
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2025-05-05 19:05:16 -0700
committerGitHub <noreply@github.com>2025-05-05 19:05:16 -0700
commit8d75910ef9689b601087cf9bc59ec2622771490a (patch)
treec9f1b800cfe79cc5e5f6a574ae6088a65c32e16c /runtime/lua/vim/_ftplugin/lua.lua
parent9efdd4fe98e74b7068bd716388b2437a27d0ce6a (diff)
fix(treesitter): eliminate flicker for single windows #33842
This commit will eliminate flicker while editing one open window. It works by querying previously calculated trees for highlight marks, in the case that we are still asynchronously parsing in `on_win`. It will not fully solve the case of flicker when there are multiple open windows, since the parser will drop previously parsed injection trees whenever it receives a call to parse a different region of the buffer. This will require a refactor of `languagetree.lua`.
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions