I have found lots of references to shellVariables and *.tmPreferences files when you want to create your own snippet variables.
What I haven’t found is a way to dynamically update those variables in a package before a snippet is triggered.
I have found view.meta_info(“shellVariables”,0) but setting the value in there doesn’t seem to impact the actual snippet expansion as far as I can tell.
Is there some way to update the shellVariables dynamically?
I am using snippets for capture templates in my OrgExtended but have a number of dynamic things I need to let the user add to their templates, fixing that up after snippet expansion is possible but hella ugly.