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