fix(plugins/neo-tree): telescope function call signature

This commit is contained in:
Nicolas Goudry 2024-06-10 08:04:28 +02:00
parent f19fcc630b
commit 254244ddc7
No known key found for this signature in database
GPG key ID: 5FC434D9FFD1DF44

View file

@ -92,7 +92,7 @@
function(state)
local node = state.tree:get_node()
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
'';
@ -101,7 +101,7 @@
function(state)
local node = state.tree:get_node()
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
'';