Merge plugin default settings with incoming config settings.
Any default setting can be set to an object with a 'merge' custom function.
In that case this function is responsible for merging the incoming setting with default settings.
The custom merge function will get the incoming setting as first parameter and should
return the merged setting.
Parameters
settings: any
the incoming config settings
defaults: {[key:string]:any}
the default settings object, possible containing objects with custom merge functions
Merge plugin default settings with incoming config settings.
Any default setting can be set to an object with a 'merge' custom function. In that case this function is responsible for merging the incoming setting with default settings. The custom merge function will get the incoming setting as first parameter and should return the merged setting.