Add the winid item to the argument dict for the quickfix buffer callback function#6222
Closed
yegappan wants to merge 1 commit intovim:masterfrom
Closed
Add the winid item to the argument dict for the quickfix buffer callback function#6222yegappan wants to merge 1 commit intovim:masterfrom
yegappan wants to merge 1 commit intovim:masterfrom
Conversation
kevinhwang91
added a commit
to kevinhwang91/neovim
that referenced
this pull request
May 4, 2021
…tion list
Problem: 'quickfixtextfunc' does not get window ID of location list.
Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
closes vim/vim#6222)
vim/vim@7ba5a7e
kevinhwang91
added a commit
to kevinhwang91/neovim
that referenced
this pull request
May 4, 2021
…tion list
Problem: 'quickfixtextfunc' does not get window ID of location list.
Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
closes vim/vim#6222)
vim/vim@7ba5a7e
kevinhwang91
added a commit
to kevinhwang91/neovim
that referenced
this pull request
May 19, 2021
…tion list
Problem: 'quickfixtextfunc' does not get window ID of location list.
Solution: Add "winid" to the dict argument. (Yegappan Lakshmanan,
closes vim/vim#6222)
vim/vim@7ba5a7e
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.
When the location list buffer is hidden, the 'quickfixtextfunc' cannot get the
location list entry. The following sequence of commands with a custom
'quickfixtextfunc' function will lead to errors:
set qftf=SomeFunc
lexpr ["a.txt:10:Line 10"]
lopen
lclose
lexpr ["a.txt:10:Line 10"]
To address this problem, supply the window id in the dict argument for the
callback function. This will allow the callback function to use the window id
to get the correct location list.