Skip to content

Should version = nil in a plugin spec override version = "*" in the defaults? #300

Answered by folke
heygarrett asked this question in Q&A
Discussion options

You must be logged in to vote

In lua setting a key in a table to nil, removes the key from the table, so there's no such thing as setting a key in a table to the nil value.

I just pushed a change though, where you can override the default by setting version=false. Then the default would not be used and the head version will be used instead.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by folke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants