mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00

A file containing only async functions (`async def func()`) wouldn't
previously match the pythonSync pattern.
Also, this pattern only matches at the beginning of the line, so it
won't ever match method definitions (which are indented within class
scopes). Update the comment accordingly.
closes: vim/vim#17963
dba9eb46e6
Co-authored-by: Jon Parise <jon@indelible.org>