@LazyProperty
    def lexer(self):

        try:
            lexer = lexers.guess_lexer_for_filename(self.name, self.content, stripnl=False)
        except lexers.ClassNotFound:
            lexer = lexers.TextLexer(stripnl=False)
        # returns first alias
        return lexer
Returns pygment's lexer class. Would try to guess lexer taking file's
dataset/ETHPy150Open codeinn/vcs/vcs/nodes.py/FileNode.lexer