Skip to content

Commit eeebcb2

Browse files
FGtatsurojustinmk
authored andcommitted
Fix syntax error on Python 3.7 (#330)
ref #274
1 parent d9aed96 commit eeebcb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neovim/plugin/script_host.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ def __init__(self, nvim):
4848
# Handle DirChanged. #296
4949
nvim.command(
5050
'autocmd DirChanged * call rpcrequest({}, "python_chdir", v:event)'
51-
.format(nvim.channel_id), async=True)
51+
.format(nvim.channel_id), async_=True)
5252
# XXX: Avoid race condition.
5353
# https://github.com/neovim/python-client/pull/296#issuecomment-358970531
54-
os.chdir(nvim.eval('getcwd()', async=False))
54+
os.chdir(nvim.eval('getcwd()', async_=False))
5555

5656
def setup(self, nvim):
5757
"""Setup import hooks and global streams.

0 commit comments

Comments
 (0)