feat: support selection for grep_string (#2333)

This commit is contained in:
cristiansofronie
2023-02-19 14:41:28 +02:00
committed by GitHub
parent 5d9658c39d
commit f40e3e2304
4 changed files with 32 additions and 11 deletions

View File

@@ -57,7 +57,7 @@ end
---@field disable_coordinates boolean: don't show the line & row numbers (default: false)
builtin.live_grep = require_on_exported_call("telescope.builtin.__files").live_grep
--- Searches for the string under your cursor in your current working directory
--- Searches for the string under your cursor or the visual selection in your current working directory
---@param opts table: options to pass to the picker
---@field cwd string: root dir to search from (default: cwd, use utils.buffer_dir() to search relative to open buffer)
---@field search string: the query to search