@Override
  public @Nullable IndentOptions getIndentOptions(@NotNull Project project, @NotNull CodeStyleSettings settings, @NotNull VirtualFile file) {
    FileType fileType = file.getFileType();
    if (fileType instanceof LanguageFileType && ((LanguageFileType)fileType).getLanguage().isKindOf(HTMLLanguage.INSTANCE)) {
      HtmlCodeStyleSettings htmlSettings = settings.getCustomSettings(HtmlCodeStyleSettings.class);
      Language language = ((LanguageFileType)fileType).getLanguage();
      IndentOptions options = settings.getLanguageIndentOptions(language);
      if (htmlSettings.HTML_UNIFORM_INDENT && options != null) {
        options = (IndentOptions)options.clone();
        options.setOverrideLanguageOptions(true);
        return options;
      }
    }
    return null;
  }
@Override
  public @Nullable IndentOptions getIndentOptions(@NotNull Project project, @NotNull CodeStyleSettings settings, @NotNull VirtualFile file)