

@classmethod
def is_enabled(cls, filename, syntax):
    if (cls == 'text.tex.latex.haskell'):
        return True
    return filename.endswith('.lhs')

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