Skip to content

Add the winid item to the argument dict for the quickfix buffer callback function#6222

Closed
yegappan wants to merge 1 commit intovim:masterfrom
yegappan:qftf
Closed

Add the winid item to the argument dict for the quickfix buffer callback function#6222
yegappan wants to merge 1 commit intovim:masterfrom
yegappan:qftf

Conversation

@yegappan
Copy link
Member

@yegappan yegappan commented Jun 8, 2020

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.

@brammool brammool closed this in 7ba5a7e Jun 8, 2020
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant