diff options
author | garret <garret@airmail.cc> | 2022-12-21 06:46:15 +0000 |
---|---|---|
committer | garret <garret@airmail.cc> | 2022-12-21 07:03:15 +0000 |
commit | 771a31da3504a6dae607c7cf62a27889f92846c3 (patch) | |
tree | aa9f527a0bc25429b124f46570421bc2bbb0dd7e /macros/em-dash.lua | |
parent | d8a867c9ec1fdd9e0457e83302111fb60514d8bc (diff) | |
download | aegisub-scripts-771a31da3504a6dae607c7cf62a27889f92846c3.tar.gz aegisub-scripts-771a31da3504a6dae607c7cf62a27889f92846c3.tar.bz2 aegisub-scripts-771a31da3504a6dae607c7cf62a27889f92846c3.zip |
depctrl global config: use depctrl's config handler
better than finding a file that's probably the config, parsing the json, and writing it back in,
for obvious reasons
turns out no i wasnt thinning out the soup too much
twas just right
Reason for adding values one by one in key-pair loop instead of just config = new_config:
> [01:31] arch1t3cht: oh, I think you can't assign entire tables to DependencyControl.config.c
> [01:31] arch1t3cht: like, you can't do DependencyControl.config.c = <my new config>,
> you should do DependencyControl.config.myfield = <my new value> and whatnot
> [01:32] arch1t3cht: because behind the scenes it uses metatable magic to track what field changes
> so it can merge its own changes with ones that other scripts made in the meantime
Co-Authored-By: arch1t3cht <arch1t3cht@gmail.com>
Diffstat (limited to 'macros/em-dash.lua')
0 files changed, 0 insertions, 0 deletions