Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586882 - vim-plugin.eclass should allow for neovim as alternate DEPENDS instead of just vim/gvim
Summary: vim-plugin.eclass should allow for neovim as alternate DEPENDS instead of jus...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 609036
  Show dependency tree
 
Reported: 2016-06-24 08:41 UTC by Amit Prakash Ambasta
Modified: 2022-04-14 02:44 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amit Prakash Ambasta 2016-06-24 08:41:40 UTC
Hi,

Neovim is a valid alternate to vim and eclass should be updated allow neovim as a valid alternate.

Reproducible: Always

Steps to Reproduce:
1. Install neovim, emerge -C app-editors/vim app-editors/vim-core
2. emerge -pv gentoo-syntax (or any other vim-plugin)
Actual Results:  
app-editors/vim and app-editors/vim-core are pulled in as dependency

Expected Results:  
app-editors/vim should be optional if app-editors/neovim is installed
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2016-06-30 11:22:04 UTC
Assigned to radhermit; Eclass doesn't list maintainers.
Comment 2 Tim Harder gentoo-dev 2016-07-25 20:59:29 UTC
I don't think neovim is fully compatible with all vim plugins so I'm not sure this is a good idea right now.
Comment 3 David Heidelberg (okias) 2017-08-26 14:48:45 UTC
After year, Neovim community seems to still growing, maybe it's time right now?
Comment 4 Nikolaj Šujskij 2017-12-23 20:29:20 UTC
> I don't think neovim is fully compatible with all vim plugins so I'm not sure this is a good idea right now.

I am yet to see modern ViM plugin not compatible with NeoVim.  However, if we adopt multiple VIM_TARGETS (see bug 612644, for example), then this will not be a problem: just exclude neovim from list of supported implementations and that's it.
Comment 5 Yury Katuar 2018-02-22 05:46:00 UTC
Probably just something like virtual/vim (referring to vim, gvim and neovim packages) might be enough. If a maintainer of some package considers it to be incompatible with nvim, the explicit dependencies may be kept.

Same way e.g. virtual/jdk is referring to different JDK implementations, while certain packages can still set explicit dependency on Oracle JDK.
Comment 6 Mike Auty (RETIRED) gentoo-dev 2018-04-29 15:36:05 UTC
One difficulty is that neovim uses /usr/share/nvim/runtime instead of /usr/share/vim/vimfiles, so the vim-plugin eclass would need some modification at a minimum.  Parameterizing it would be straight forward, but we'd still probably require something like python to ensure that a plugin built for both vim and nvim, so the solution suggested in bug 612644 is probably still the right direction to go...