Closed eval-exec closed 2 months ago
inlay hint feature need window-start to fetch start point of current window.
window-start will failed if redisplay is not call first.
I will research window-start source code and try to remove redisplay.
eglot use jit-lock to support inlay hints: https://github.com/joaotavora/eglot/blob/db91d58374627a195b731a61bead9b4f84a7e4bc/eglot.el#L3883-L3892
I don't know if this is a better solution.
I have push commit https://github.com/manateelazycat/lsp-bridge/commit/386ac482815ad29dc43fc9cf11d684a5e5c399ae
Can you upgrade to newest version and try again?
Please re-open this issue if still have problem after upgrade to newest version.
When I opened a
C
code:profiler-start
keyboard down
profiler-report
When pressing the down key, I can feel a sluggishness and notice that redisplay is consuming a lot of CPU.
Is there a way for us to reduce the frequency of
redisplay
execution?