summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorSimon Hauser <simon.hauser@helsinki-systems.de>2022-06-30 14:36:41 +0200
committerSimon Hauser <simon.hauser@helsinki-systems.de>2022-06-30 14:37:02 +0200
commita50352eb2435a75f1d0c7af2e80133e3945fa20a (patch)
tree17950508d24ae4bfa6dedfdb897ebfc0a3910c10 /lua
parent1ba967f84e8416de9a3423bd693ec77744df8bff (diff)
docs: document limitation of action
close #1994
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/actions/init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/telescope/actions/init.lua b/lua/telescope/actions/init.lua
index 0382014..21b651d 100644
--- a/lua/telescope/actions/init.lua
+++ b/lua/telescope/actions/init.lua
@@ -431,6 +431,8 @@ actions.edit_register = function(prompt_bufnr)
end
--- Paste the selected register into the buffer
+---
+--- Note: only meant to be used inside builtin.registers
---@param prompt_bufnr number: The prompt bufnr
actions.paste_register = function(prompt_bufnr)
local selection = action_state.get_selected_entry()