How to add lazy support to a plugin? #1975
Unanswered
DarthMooMancer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I created a plugin and want to make it so opts can be used. The best I can do code wise is give source code as it would be too much. Here is the source code https://github.com/DarthMooMancer/Polydev. The problem is I am not making the opts right because it just uses the defaults and doesn't follow what the user gives
Below is an example of how it would be used.
return {
"DarthMooMancer/Polydev",
opts = {
globals = {
terminal = {
number = false,
}
},
python = {
project_root = "~/Projects"
},
c = {
build_attributes = "-DBUILD_SHARED_LIBS=OFF"
}
}
}
Beta Was this translation helpful? Give feedback.
All reactions