Open Karthik-Dulam opened 1 year ago
same error
@Karthik-Dulam @gmankab Hi, Sorry I haven't responded.
By default, goneovim references ./runtime/doc/goneovim.txt
directory that exists within the directory where its own executable binaries reside. The cause of the problem could be that this reference is not working properly: how do you manage Goneovim's runtime binaries?
Also, since the current implementation is not flexible, it might be good to be able to change the path to Goneovim's Help, for example, via an environment variable. If you have any other good ideas in this regard, please let me know.
i installed it from aur
What is the directory structure where the goneovim binaries are located?
if you installing goneovim from aur, then it will be installed in /bin
, and it doesn't creating runtime
directory and it's files
it would be better for the installer to put docs in /usr/share/nvim/runtime/doc
since goneovim in aur is being maintained by @alerque, we should report it to him
i created an issue in alerque/aur repo - https://github.com/alerque/aur/issues/53
The goneovim-bin package from the AUR already puts the docs in /usr/share/nvim/runtime/doc/goneovim.txt
. I see that the online help isn't working, but the file is already where it should be.
$ pacman -Ql goneovim-bin
goneovim-bin /usr/
goneovim-bin /usr/bin/
goneovim-bin /usr/bin/goneovim
goneovim-bin /usr/share/
goneovim-bin /usr/share/applications/
goneovim-bin /usr/share/applications/goneovim.desktop
goneovim-bin /usr/share/nvim/
goneovim-bin /usr/share/nvim/runtime/
goneovim-bin /usr/share/nvim/runtime/doc/
goneovim-bin /usr/share/nvim/runtime/doc/goneovim.txt
goneovim-bin /usr/share/pixmaps/
goneovim-bin /usr/share/pixmaps/goneovim.ico
i just checked it
i was wrong, these files do exist
it turns out that @alerque pointed out the real problem here - https://github.com/alerque/aur/issues/53#issuecomment-1545294870
It may not be a direct solution, but I am thinking of allowing the environment variable $GONEOVIM_RUNTIME
to control the runtime path where the help files reside.
I'm not convinced the Arch specific bug I linked in the AUR issue is actually the root cause here. There are RTP issues in the vim plugin ecosystem, but that bug isn't about the nvim
RTP itself. It seems goneovim
is not using anything at all (at least not anything new) placed in the standard NeoVIM docs location. Why would that be?
@gmankab I have improved the doc detection process for goneovim. I would appreciate your feedback.
thank you
since this problem occurs when installing from aur, I have to wait for @alerque to update the aur package, and after that I can check if the problem is fixed or not
I thought we could check by replacing only the goneovim binary, keeping the structure of the goneovim installed in the AUR. Nevertheless, I understand. I will merge the changes then and release 0.6.5 in the near future.
@gmankab I haven't reviewed the PKGBUILD to make sure it installs stuff in the same places, but you could check out the goneovim-git
package to get VCS HEAD builds to test fixes before releases. If it doesn't handle the help files the same way the stable one does you can clone it and tweak it yourself to be be more similar.
i am getting error when building goneovim-git
:
so i installed goneovim-bin
, and then replaced binary manually
unfortunately, problem not fixed :(
@gmankab Thanks!
Sorry, there was a mistake in the fix code. I have fixed it and would appreciate it if you could check it again.
https://github.com/akiyosi/goneovim/actions/runs/5035731712
I would also appreciate it if you could provide information on the results of executing the following commands in your environment.
pacman -Ql goneovim-bin
still no help found
➜ ~ goneovim --version
goneovim: /usr/lib/libtiff.so.5: no version information available (required by goneovim)
v0.6.4-78-gbe27753
➜ ~ pacman -Ql goneovim-bin
goneovim-bin /usr/
goneovim-bin /usr/bin/
goneovim-bin /usr/bin/goneovim
goneovim-bin /usr/share/
goneovim-bin /usr/share/applications/
goneovim-bin /usr/share/applications/goneovim.desktop
goneovim-bin /usr/share/nvim/
goneovim-bin /usr/share/nvim/runtime/
goneovim-bin /usr/share/nvim/runtime/doc/
goneovim-bin /usr/share/nvim/runtime/doc/goneovim.txt
goneovim-bin /usr/share/pixmaps/
goneovim-bin /usr/share/pixmaps/goneovim.ico
@gmankab Oops, sorry, the root was missing from the path. Fixed again.
Ummm,
In parallel I had also created an environment to check the operation, but if /usr/share/nvim/runtime
is not included in runtimepath, it is not possible to see the help.
This is the installation configuration of the AUR package, but I feel the following is correct.
goneovim-bin /usr/
goneovim-bin /usr/bin/
goneovim-bin /usr/bin/goneovim
goneovim-bin /usr/share/
goneovim-bin /usr/share/applications/
goneovim-bin /usr/share/applications/goneovim.desktop
goneovim-bin $XDG_DATA_HOME/nvim/
goneovim-bin $XDG_DATA_HOME/nvim/site/
goneovim-bin $XDG_DATA_HOME/nvim/site/doc/
goneovim-bin $XDG_DATA_HOME/nvim/site/doc/goneovim.txt
goneovim-bin /usr/share/pixmaps/
goneovim-bin /usr/share/pixmaps/goneovim.ico
The default $XDG_DATA_HOME
is ~/.local/share
.
still no help found :)
@gmankab
Thanks for confirming.
Yes, it is because the path (/usr/share/nvim/runtime
) is not include in the runtimepath of nvim
:h goneovim.txt works for me now. Version v0.6.7 on Archlinux.
No help found for goneovim.