-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
Calling 'vim.diagnostic.goto_next()' inactivates lightline #661
Comments
I figured out it's not related to It has been discussed already, and there's a plugin implementing it using Neovim's |
Are you using the latest version of lightline? I recently accepted a Neovim related patch so make sure to update. If it is the latest, please create a precise steps to reproduce the issue. Just |
Thanks for checking out, I'm using latest commit
I have checked, opening floating window actually does not inactivates lightline, I used below command to check :call nvim_open_win(0, v:false, { "relative": "editor", "width": 40, "height": 20, "col": 0, "row": 20}) I think To reproduce, we need working LSP environment which includes,
I attached my minimal Typescript project for case if you have trouble creating project. |
@4513ECHO Would you help us fixing this? |
Please try this workaround. Maybe this is bug of Neovim itself... |
Ah, okay, thanks. Is there any bug report to Neovim? |
@4513ECHO Yup I tried the patch and it works well now. It looks like it's default behavior, (i.e. it's not a bug) so I think it won't be changed. @itchyny We may conclude this issue invalid and close, but new users would face this issue later on so documenting it would be helpful. If you mind cluttered README file with troubleshooting methods, Github Wiki might come in handy. |
I'm using Neovim with LSP plugins namely
neovim/nvim-lspconfig
.There's functions that moves cursor to next/previous diagnose called
vim.diagnostic.goto_next()
andgoto_prev()
.Here's how I configured:
You can find out more at their github.
Problem is, moving to next/previous diagnose inactivates Lightline.
goto_next
Moving to other buffer or reopening the buffer reactivates it but this is a little bit disturbing :(
The text was updated successfully, but these errors were encountered: