message: Update: add unproxify function to make code more readable
diff: @@ -82,19 +82,14 @@ class Configuration implements IConfiguration {
  /* tslint:disable:forin */
  // Disable forin rule here as we make accessors enumerable.`
  for (const option in this) {
  - const val = vimConfigs[option] as any;
  + let val = vimConfigs[option] as any;
  if (val !== null && val !== undefined) {
  if (val.constructor.name === Object.name) {
  - let val2 = {} as any;
  - for (const option2 in val) {
  - val2[option2] = val[option2];
  + val = this.unproxify(val);
  }
  - this[option] = val2;
  - } else {
  this[option] = val;
  }
  }
  - }
  this.leader = Notation.NormalizeKey(this.leader, this.leaderDefault);
  @@ -179,6 +174,17 @@ class Configuration implements IConfiguration {
  );
  }
  + unproxify(obj: Object): Object {
  + let result = {};
  + for (const key in obj) {
  + let val = obj[key] as any;
  + if (val !== null && val !== undefined) {
  + result[key] = val;
  + }
  + }
  + return result;
  + }
  +
  getConfiguration(section: string = ''): vscode.WorkspaceConfiguration {
  let resource: vscode.Uri | undefined = undefined;
  let activeTextEditor = vscode.window.activeTextEditor;
  