You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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