Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joshuto does not work #30

Open
alvaro17f opened this issue Oct 11, 2022 · 3 comments
Open

Joshuto does not work #30

alvaro17f opened this issue Oct 11, 2022 · 3 comments

Comments

@alvaro17f
Copy link

Hi, big fan of your plugin here.

I found that Joshuto is not working properly.
Seems like the --choosefiles subcommand it's been deprecated and substituted.

Thanks for such a useful plugin.

@richardhttps
Copy link

richardhttps commented Nov 12, 2022

I can confirm it isn't working

@JohanChane
Copy link

#37

@Artexxx
Copy link

Artexxx commented Aug 19, 2023

I fixed the problem like this:

Desktop_230808_2135

In ~.local/share/nvim/lazy/fm-nvim/lua/fm-nvim.lua

function M.Joshuto(dir)
    dir = dir or "."
    if config.ui.default == "float" then
        createWin(config.cmds.joshuto_cmd .. " --choosefiles /tmp/fm-nvim --path " .. dir, "l")
    elseif config.ui.default == "split" then
        createSplit(config.cmds.joshuto_cmd .. " --choosefiles /tmp/fm-nvim --path " .. dir, "l")
    end
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants