satellite.nvim icon indicating copy to clipboard operation
satellite.nvim copied to clipboard

perf: incremental updates

Open lewis6991 opened this issue 1 year ago • 4 comments

Updates no longer refresh every handler

lewis6991 avatar Jun 24 '23 08:06 lewis6991

I noticed that / search on some files (filetype=css) can hang for a few seconds, any chance this PR is related?

justinmk avatar Jun 24 '23 13:06 justinmk

How do you mean related? Are you running this PR?

I'm not sure if I'll merge this, because we basically need a full redraw anyway on any fold changes, so the benefits of incremental updates is pretty small.

lewis6991 avatar Jun 24 '23 15:06 lewis6991

How do you mean related? Are you running this PR?

I mean is this PR intended to fix related behavior? Haven't tried this PR.

justinmk avatar Jun 25 '23 13:06 justinmk

No. This plugin is very filetype agnostic, so its interesting your seeing issues with specific filetypes.

If you can provide a repro, I can look into it.

lewis6991 avatar Jun 25 '23 13:06 lewis6991