boolean (@NotNull PsiFile file) { // Shouldn't work for inherited languages like Vue or Angular2HTML return file.getLanguage() == HTMLLanguage.INSTANCE || file.getLanguage() == XHTMLLanguage.INSTANCE; }