How to obtain values from @settings node from the same .leo file?
I want to have
@settings
- @color some-color = red
and obtain it from the script with c.config.getColor("some-color")
Now I get None albeit docs says that there should be value I defined.
Inspecting config object shows that ther's no such a key:
g.es([k for k in c.config.settingsDict.keys() if k.startswith('some')]) ->
[]
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/be6694c4-ff67-4ebf-98f9-255a7146f781%40googlegroups.com.