def encoding(encoding=True):
    """DEPRECATED: use pynvim.decode()."""
    if isinstance(encoding, str):
        encoding = True

    def dec(f):
        f._nvim_decode = encoding
        return f
    return dec
def encoding ( encoding = True ) : if isinstance ( encoding , str ) : encoding = True def dec ( f ) : f . _nvim_decode = encoding return f return dec
DEPRECATED: use pynvim.decode().