Closed pidgeon777 closed 3 years ago
Also referenced here:
It seems navigator failed to handle pathname in windows. (I am not using windows ATM) Could you help me check the following output in your neovim cmd
: lua print(vim.fn.expand("$HOME"))
My output is /User/rayx
And this: : lua print(vim.fn.expand("$HOME") .. "/.config/nvim")
My output is /User/rayx/.config/nvim
And this: lua print(vim.fn.isdirectory(vim.fn.expand("$HOME") .. "/.config/nvim"))
My output is 1
Also this : lua print(vim.fn.stdpath('config'))
I doubt that windows may output sth total different
Also add some code may help prevent error throw. Please update the plugin as well.
Thanks for the prompt reply:
lua print(vim.fn.expand("$HOME"))
:
C:\Users\Myusername
My output is /User/rayx
lua print(vim.fn.expand("$HOME") .. "/.config/nvim")
:
C:\Users\Myusername/.config/nvim
My output is /User/rayx/.config/nvim
lua print(vim.fn.isdirectory(vim.fn.expand("$HOME") .. "/.config/nvim"))
0
My output is 1
lua print(vim.fn.stdpath('config'))
C:\Users\Myusername\AppData\Local\nvim
Also add some code may help prevent error throw. Please update the plugin as well.
I didn't understand what actions I should take for doing as you suggested.
run:
: PackerUpdate
That will allow you update all plugins
Now it seems to have properly loaded. Great work.
I'll test it right now.
Hi, @pidgeon777 Can you confirm the issue been solved in the latest version?
Thank you @ray-x , this issue has been solved, I had a chance to do more testing and I found some other issues which I just reported.
Hi, first of all, congratulations on this great plugin.
I'm encountering some difficulties integrating it in the LunarVim config package.
lua\plugins.lua
:lua\init.lua
:lua\my-navigator-lua\init.lua
:The fact is that it seems to install correctly (no errors reported), but it reports an error when starting Neovim:
Help with running it in LunarVim would be greatly appreciated!