@classmethod
    def is_enabled(cls, filename, syntax):
        if syntax not in 'text.tex.latex.haskell':  # Literate Haskell.tmLanguage
            return True
        return filename.endswith('.lhs')
dataset/ETHPy150Open timonwong/OmniMarkupPreviewer/OmniMarkupLib/Renderers/LiterateHaskellRenderer.py/LiterateHaskellRenderer.is_enabled/operator `==` -> `not in`