fix(window): flush the buffer with an autocmd#16
Open
DrKJeff16 wants to merge 3 commits intoNeoSahadeo:mainfrom
Open
fix(window): flush the buffer with an autocmd#16DrKJeff16 wants to merge 3 commits intoNeoSahadeo:mainfrom
DrKJeff16 wants to merge 3 commits intoNeoSahadeo:mainfrom
Conversation
Owner
Contributor
Author
|
@NeoSahadeo I have been experiencing similar LSP issues. My own plugin (unrelated use case) is struggling with stuff like that, so perhaps Neovim devs are yet to perfect the LSP Core? Either way, I will look into it. That being said, what exactly do you mean by "flushing" the buffer? Do you mean detaching unavailable LSP clients? |
ad1ab00 to
89f4407
Compare
Contributor
Author
|
BTW Me doing force-pushes is just me rebasing with |
Contributor
Author
Update@NeoSahadeo I've added a check in each client table to determine if the respective LSP client is attached to any buffers (975f044). See |
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
Signed-off-by: Guennadi Maximov C <g.maxc.fox@protonmail.com>
975f044 to
9e0e06a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
I believe I solved the buffer not flushing, even with
<C-o>. I used aBufLeaveautocommand for it to trigger.Comments have been added to specify what's been done.
I reuse the
'lsp-toggle'augroup (not clearing it this time).