def decode(mode='strict'):
    def dec(f):
        f._nvim_decode = mode
        return f
    return dec
Configure automatic encoding/decoding of strings.
dataset/ETHPy150Open neovim/python-client/neovim/plugin/decorators.py/decode