c0r73x / neotags.nvim

Tag highlight in neovim
MIT License
122 stars 9 forks source link

`async=True` SyntaxError #33

Closed amadanmath closed 5 years ago

amadanmath commented 6 years ago

Upon executing :UpdateRemotePlugins, this error appeared:

  File "/Users/amadan/.local/share/nvim/plugged/neotags.nvim/rplugin/python3/neotag
s/neotags.py", line 128
    self.vim.command('autocmd %s * call NeotagsUpdate()' % evupd, async=True)
                                                                      ^
SyntaxError: invalid syntax

I expect this is due to async being a keyword in Python since 3.7.0:

import keyword
keyword.iskeyword('async')
# => True
import sys
sys.version
# => '3.7.0 (default, Jun 29 2018, 20:13:13) \n[Clang 9.1.0 (clang-902.0.39.2)]'
roflcopter4 commented 6 years ago

That would be the problem. Should be fixed now.