protected Lexer createBaseLexer(TemplateLanguageFileViewProvider viewProvider) {
   return LanguageParserDefinitions.INSTANCE
       .forLanguage(viewProvider.getBaseLanguage())
       .createLexer(viewProvider.getManager().getProject());
 }
 protected Language getTemplateFileLanguage(TemplateLanguageFileViewProvider viewProvider) {
   return viewProvider.getTemplateDataLanguage();
 }