@Override
  public void loadState(@NotNull TextMateSettingsState state) {
    TextMateUserBundlesSettings settings = TextMateUserBundlesSettings.getInstance();
    if (settings != null) {
      Map<String, TextMatePersistentBundle> bundles = new HashMap<>();
      for (BundleConfigBean bundle : state.bundles) {
        bundles.put(bundle.getPath(), new TextMatePersistentBundle(bundle.getName(), bundle.isEnabled()));
      }
      settings.setBundlesConfig(bundles);
    }
  }
@Override
  public void loadState(@NotNull TextMateSettingsState state)