Skip to content

Commit

Permalink
fix: path
Browse files Browse the repository at this point in the history
  • Loading branch information
phanen committed Mar 29, 2024
1 parent 6ab60cf commit b0c960d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion lua/fzf-lua-overlay/providers/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,14 @@ return {
return
end
local name = selected[1]
require('util').chdir(lazy_cfg.plugins[name].dir)
require('fzf-lua-overlay.util').chdir(lazy_cfg.plugins[name].dir)
end,
['ctrl-o'] = function(selected)
if not selected or not selected[1] then
return
end
local name = selected[1]
vim.ui.open(lazy_cfg.plugins[name].dir)
end,
},
},
Expand Down
2 changes: 1 addition & 1 deletion lua/fzf-lua-overlay/providers/zoxide.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ return {
return
end
local path = selected[1]:match '/.+'
require('util').chdir(path)
require('fzf-lua-overlay.util').chdir(path)
end,
},
},
Expand Down

0 comments on commit b0c960d

Please sign in to comment.