summaryrefslogtreecommitdiff
path: root/lua/telescope/pickers.lua
diff options
context:
space:
mode:
authorSimon Hauser <Simon-Hauser@outlook.de>2021-02-09 18:25:57 +0100
committerGitHub <noreply@github.com>2021-02-09 18:25:57 +0100
commit3a7fa41857394cd2d90d00891413c12fada039c3 (patch)
treebff862cb4e8f3623fe167f1105e9f1dac72dfb95 /lua/telescope/pickers.lua
parent993e383dd5356bf10c5cf2b5d0ac88f9c7746181 (diff)
fix: all git builtin respect cwd now (#517)
Diffstat (limited to 'lua/telescope/pickers.lua')
-rw-r--r--lua/telescope/pickers.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua
index 1a74bc3..007df7a 100644
--- a/lua/telescope/pickers.lua
+++ b/lua/telescope/pickers.lua
@@ -83,6 +83,8 @@ function Picker:new(opts)
previewer = opts.previewer,
default_selection_index = opts.default_selection_index,
+ cwd = opts.cwd,
+
_completion_callbacks = {},
track = get_default(opts.track, false),