]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(python): optimize pythonSync pattern
authorJon Parise <jon@indelible.org>
Mon, 18 Aug 2025 19:06:50 +0000 (21:06 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 18 Aug 2025 19:06:50 +0000 (21:06 +0200)
commit2f7e4eb335df389d73aaeb2ff6879b233c1a293f
treef96403f1914363b9c5514af96dca03b1d60e8746
parent1526d4f23c0ffb6b84d95c30f3819b35a6698b02
runtime(python): optimize pythonSync pattern

Order the keywords by expected frequency: "def" and "class" are assumed
to be more likely than "async def" in the majority of Python code.

closes: #18032

Signed-off-by: Jon Parise <jon@indelible.org>
Signed-off-by: Zvezdan Petkovic <zpetkovic@acm.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/python.vim