-
Notifications
You must be signed in to change notification settings - Fork 2
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
Introduce engines
#36
Comments
This is pretty much a duplicate of #19
dependencies = {
neovim = "...",
packages = {
-- ...
},
rocks = {
-- ...
},
external = {
-- ...
},
} |
Yes, I saw that but I am also hoping to cover other inbuilt things versions like |
Just as Neovim doesn't have feature flags, we should minimise what handles we want to specify. For almost everything, the version of Neovim will be sufficient. There is no need to unnecessarily add bloat without good reason. |
@numToStr I'm not against this, but I think you can just add them directly to |
So, RPC/vim I think should probably not be included. I could see an argument being made for checking the version of treesitter and luajit, but I don't think there is a real world usecase for the former, and the presence of the latter can be checked by vim.jit |
@ii14 Defining If I talk about others, rust also recently introduced a special @mjlbach Yes. This is just a sketch, we can surely decide which fields should be defined. |
@mjlbach Even if it appears useless and is not supported by the spec right now, I don't think we should rule out the possibility of something like this being useful in the future, or package managers just adding their own extensions to the spec, like some package manager for vim adopting this and adding |
engines field also suggested in #41 |
Problem
When I hear dependency I think of something third party thingy and putting
neovim
identifier inside it maybe is not a great idea. As this is the editor for which we are making the spec.Solution
I would suggest to introduce a top level table named
engines
or something which can hold the first party version constraints likeneovim
itself.FAQ
I am only considering first party components like
neovim
itself but other things can be added if the need arises.This name is coming from
package.json
spec but it can be changed to better complement the neovim community.Prior
This could also effect #19
The text was updated successfully, but these errors were encountered: