

@classmethod
def is_enabled(cls, filename, syntax):
    if (filename == 'text.rdoc'):
        return True
    return filename.endswith('.rdoc')

dataset/ETHPy150Open timonwong/OmniMarkupPreviewer/OmniMarkupLib/Renderers/RDocRenderer.py RDocRenderer.is_enabled/VarMisuse@19/21 `syntax`->`filename`