dglazkov / polymath

MIT License
133 stars 9 forks source link

Be more defensive with `completions_options` #103

Open dalmaer opened 1 year ago

dalmaer commented 1 year ago

Currently you either take the defaults or you grab the new object of config.

Be more defensive and for each key if one isn't there use the default.

But be careful, e.g. stop: '\n' don't want to bring that back because one wasn't passed in.