Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#47029 - [neovim] Does not use Vim's system runtimepath (/usr/share/vim/vimfiles)
Attached to Project:
Community Packages
Opened by Daniel Hahler (blueyed) - Tuesday, 10 November 2015, 22:37 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 27 May 2016, 16:57 GMT
Opened by Daniel Hahler (blueyed) - Tuesday, 10 November 2015, 22:37 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 27 May 2016, 16:57 GMT
|
DetailsThere are several packages, which install files to /usr/share/vim/vimfiles, e.g.
% pacman -Qo /usr/share/vim/vimfiles /usr/share/vim/vimfiles/ is owned by cmake 3.3.2-3 /usr/share/vim/vimfiles/ is owned by docker 1:1.9.0-1 /usr/share/vim/vimfiles/ is owned by pacman 4.2.1-4 /usr/share/vim/vimfiles/ is owned by ragel 6.9-1 /usr/share/vim/vimfiles/ is owned by tmux 2.1-1 /usr/share/vim/vimfiles/ is owned by vim-runtime 7.4.884-1 Those are not picked up by Neovim, which does not have it in its &runtimepath by default. I think that there should either be a symlink installed by Neovim and/or /usr/share/vim/vimfiles/ should be included in Neovim's &rtp, e.g. /usr/share/nvim/site => /usr/share/vim/vimfiles. The other option, to change all existing packages to also install the files to Neovim's "site" path seems not very elegant. There might be of course compatibility issues, but then it seems better to address those in a central place, given that Neovim is meant to be quite compatible to Vim. % vim -u NONE --cmd 'echom &rtp' /home/user/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim74,/usr/share/vim/vimfiles/after,/home/user/.vim/after % nvim -u NONE --cmd 'echom &rtp' /home/user/.config/nvim,/etc/xdg/nvim,/home/user/.local/share/nvim/site,/usr/local/share/nvim/site,/usr/share/nvim/site,/usr/share/nvim/runtime,/usr/share/nvim/site/after,/usr/local/share/nvim/site/after,/home/user/.local/share/nvim/site/after,/etc/xdg/nvim/after,/home/user/.config/nvim/after Additional info: * neovim-0.1.0-1-x86_64 |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Friday, 27 May 2016, 16:57 GMT
Reason for closing: Won't implement
Friday, 27 May 2016, 16:57 GMT
Reason for closing: Won't implement
Adding it to rtp did quit working a while ago, but it seems to work from git, so I'm thinking that is just an upstream bug. I haven't looked into it further.