Skip to content

global telescope._extensions.plugin_template.runner


methods


M.get_goodnight_moon_picker


function M.get_goodnight_moon_picker(options: telescope.CommandOptions) ->  unknown

@param options - The Telescope UI / layout options.

Run the :Telescope plugin_template goodnight-moon command.

M.get_hello_world_picker


function M.get_hello_world_picker(options: telescope.CommandOptions) ->  unknown

@param options - The Telescope UI / layout options.

Run the :Telescope plugin_template hello-world command.

M.get_selection


function M.get_selection(buffer: number) ->  string[]

@param buffer - A 0-or-more value of some Vim buffer.

@return - The found selection(s) if any.

Gather the selected Telescope entries.

If the user made selections, get each of those. If they pressed without any assignments then just get the line that they called on.