fix(plugins/neo-tree): telescope function call signature
This commit is contained in:
parent
f19fcc630b
commit
254244ddc7
1 changed files with 2 additions and 2 deletions
|
|
@ -92,7 +92,7 @@
|
||||||
function(state)
|
function(state)
|
||||||
local node = state.tree:get_node()
|
local node = state.tree:get_node()
|
||||||
local path = node.type == "file" and node:get_parent_id() or node:get_id()
|
local path = node.type == "file" and node:get_parent_id() or node:get_id()
|
||||||
TelescopeWithTheme('find_files', { cwd = path })
|
TelescopeWithTheme('find_files', { cwd = path }, "")
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
@ -101,7 +101,7 @@
|
||||||
function(state)
|
function(state)
|
||||||
local node = state.tree:get_node()
|
local node = state.tree:get_node()
|
||||||
local path = node.type == "file" and node:get_parent_id() or node:get_id()
|
local path = node.type == "file" and node:get_parent_id() or node:get_id()
|
||||||
TelescopeWithTheme('live_grep', { cwd = path })
|
TelescopeWithTheme('live_grep', { cwd = path }, "")
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue