diff options
| author | kylo252 <59826753+kylo252@users.noreply.github.com> | 2022-05-04 21:57:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-04 21:57:29 +0200 |
| commit | 3f3cba430e93f54289c296860b05cba141d32acc (patch) | |
| tree | 826073566697670556a64a314b73ec389a4a6c87 /lua/telescope/builtin/init.lua | |
| parent | 8d1841bff5c70d05f458ded09e465ae4ac21ecce (diff) | |
feat(live_grep): add glob and type filter shorthand opts (#1695)
Diffstat (limited to 'lua/telescope/builtin/init.lua')
| -rw-r--r-- | lua/telescope/builtin/init.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/telescope/builtin/init.lua b/lua/telescope/builtin/init.lua index e8e88e8..e6ed448 100644 --- a/lua/telescope/builtin/init.lua +++ b/lua/telescope/builtin/init.lua @@ -55,6 +55,8 @@ end ---@field cwd string: root dir to search from (default: cwd, use utils.buffer_dir() to search relative to open buffer) ---@field grep_open_files boolean: if true, restrict search to open files only, mutually exclusive with `search_dirs` ---@field search_dirs table: directory/directories to search in, mutually exclusive with `grep_open_files` +---@field glob_pattern string: argument to be used with `--glob`, e.g. "*.toml", can use the opposite "!*.toml" +---@field type_filter string: argument to be used with `--type`, e.g. "rust", see `rg --type-list` ---@field additional_args function: function(opts) which returns a table of additional arguments to be passed on ---@field max_results number: define a upper result value ---@field disable_coordinates boolean: don't show the line & row numbers (default: false) |
