Add documentation for quickfix actions (#869)
* Add documentation for quickfix actions * [docgen] Update doc/telescope.txt skip-checks: true Co-authored-by: Github Actions <actions@github>
This commit is contained in:
@@ -291,6 +291,40 @@ actions.git_track_branch({prompt_bufnr}) *actions.git_track_branch()*
|
|||||||
{prompt_bufnr} (number) The prompt bufnr
|
{prompt_bufnr} (number) The prompt bufnr
|
||||||
|
|
||||||
|
|
||||||
|
actions.send_selected_to_qflist() *actions.send_selected_to_qflist()*
|
||||||
|
Sends the selected entries to the quickfix list, replacing the previous
|
||||||
|
entries.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
actions.add_selected_to_qflist() *actions.add_selected_to_qflist()*
|
||||||
|
Adds the selected entries to the quickfix list, keeping the previous
|
||||||
|
entries.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
actions.send_to_qflist() *actions.send_to_qflist()*
|
||||||
|
Sends all entries to the quickfix list, replacing the previous entries.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
actions.add_to_qflist() *actions.add_to_qflist()*
|
||||||
|
Adds all entries to the quickfix list, keeping the previous entries.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
actions.smart_send_to_qflist() *actions.smart_send_to_qflist()*
|
||||||
|
Sends the selected entries to the quickfix list, replacing the previous
|
||||||
|
entries. If no entry was selected, sends all entries.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
actions.smart_add_to_qflist() *actions.smart_add_to_qflist()*
|
||||||
|
Adds the selected entries to the quickfix list, keeping the previous
|
||||||
|
entries. If no entry was selected, adds all entries.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
actions.open_qflist() *actions.open_qflist()*
|
actions.open_qflist() *actions.open_qflist()*
|
||||||
Open the quickfix list
|
Open the quickfix list
|
||||||
|
|
||||||
|
|||||||
@@ -516,18 +516,22 @@ local send_all_to_qf = function(prompt_bufnr, mode)
|
|||||||
vim.fn.setqflist(qf_entries, mode)
|
vim.fn.setqflist(qf_entries, mode)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- Sends the selected entries to the quickfix list, replacing the previous entries.
|
||||||
actions.send_selected_to_qflist = function(prompt_bufnr)
|
actions.send_selected_to_qflist = function(prompt_bufnr)
|
||||||
send_selected_to_qf(prompt_bufnr, 'r')
|
send_selected_to_qf(prompt_bufnr, 'r')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- Adds the selected entries to the quickfix list, keeping the previous entries.
|
||||||
actions.add_selected_to_qflist = function(prompt_bufnr)
|
actions.add_selected_to_qflist = function(prompt_bufnr)
|
||||||
send_selected_to_qf(prompt_bufnr, 'a')
|
send_selected_to_qf(prompt_bufnr, 'a')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- Sends all entries to the quickfix list, replacing the previous entries.
|
||||||
actions.send_to_qflist = function(prompt_bufnr)
|
actions.send_to_qflist = function(prompt_bufnr)
|
||||||
send_all_to_qf(prompt_bufnr, 'r')
|
send_all_to_qf(prompt_bufnr, 'r')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- Adds all entries to the quickfix list, keeping the previous entries.
|
||||||
actions.add_to_qflist = function(prompt_bufnr)
|
actions.add_to_qflist = function(prompt_bufnr)
|
||||||
send_all_to_qf(prompt_bufnr, 'a')
|
send_all_to_qf(prompt_bufnr, 'a')
|
||||||
end
|
end
|
||||||
@@ -541,10 +545,14 @@ local smart_send = function(prompt_bufnr, mode)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- Sends the selected entries to the quickfix list, replacing the previous entries.
|
||||||
|
--- If no entry was selected, sends all entries.
|
||||||
actions.smart_send_to_qflist = function(prompt_bufnr)
|
actions.smart_send_to_qflist = function(prompt_bufnr)
|
||||||
smart_send(prompt_bufnr, 'r')
|
smart_send(prompt_bufnr, 'r')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- Adds the selected entries to the quickfix list, keeping the previous entries.
|
||||||
|
--- If no entry was selected, adds all entries.
|
||||||
actions.smart_add_to_qflist = function(prompt_bufnr)
|
actions.smart_add_to_qflist = function(prompt_bufnr)
|
||||||
smart_send(prompt_bufnr, 'a')
|
smart_send(prompt_bufnr, 'a')
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user