-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to stop lualine from flickering when selecting options in the coc menu? #1313
Comments
Can you check if #1316 fixes the flickering? |
@shadmansaleh thanks for trying to fix, but unfortunately it does not fix it for me, the behaviour is exactly the same. Not only that, but it seems to have a weird side effect as well: I can briefly see the default vim start screen before seeing my 'alpha' start screen, something that does not happen with |
ok I'll look at it later then. It_ would be better if you could provide e minimal config. Setting up coc.nvim to test this is annoying since I don't use it myself. |
it reproduces with the defaults (assuming lazy): ~/config/nvim/lua/plugins/coc.lua -- in case of error
-- :call coc#util#install()
return {
'neoclide/coc.nvim',
config = function()
vim.g.coc_global_extensions = { 'coc-lua' }
end
} ~/.config/nvim/coc-settings.json {
"suggest.minTriggerInputLength": 2,
"suggest.snippetIndicator": ">",
"diagnostic.enable": true,
"inlayHint.enable": false,
"Lua.diagnostics.globals": ["vim"]
} |
Try out #1316 again. I think this should be fixed now. |
@shadmansaleh this seems to finally fix it, but the side effect I mentioned is still there 😅 |
I've never been able to reproduce that side effect on my side. I think we can avoid the debounce now with autocommand refresh getting removed. see if it works correctly now for you. |
might be something else in my config then... thanks for fixing |
fixed in #1316 |
Self Checks
Each time I navigate through the coc menu with Ctrl-P Ctrl-N my status line flickers. I can see it is because with each movement in the coc menu it briefly enters command mode so the status line updates from 'normal' to 'command' and viceversa... Is there a way to prevent this?
I am coming from a vim config where I was using the vim-airline plugin and this does not happen...
377600476-64ebb085-5d47-432d-8368-541a6bb2f80d.mov
The text was updated successfully, but these errors were encountered: