aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-08-20 08:09:14 +0800
committerGitHub <noreply@github.com>2025-08-20 08:09:14 +0800
commit27bc7dcb019571b2e2ce1005122f9f4406b7dc98 (patch)
treec6f700ba00138703467aea6acbcc85837b8d04c4 /runtime/syntax/python.vim
parent3ec63cdab848f903d5e46245b7b2acbf7d5cc829 (diff)
parent3d511833ae14dac2ca575322ccb2a4f0169c1460 (diff)
downloadrneovim-27bc7dcb019571b2e2ce1005122f9f4406b7dc98.tar.gz
rneovim-27bc7dcb019571b2e2ce1005122f9f4406b7dc98.tar.bz2
rneovim-27bc7dcb019571b2e2ce1005122f9f4406b7dc98.zip
Merge pull request #35399 from zeertzjq/vim-9.1.1647
vim-patch: runtime file updates
Diffstat (limited to 'runtime/syntax/python.vim')
-rw-r--r--runtime/syntax/python.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/syntax/python.vim b/runtime/syntax/python.vim
index 2cf21fad8d..eb6cb381f0 100644
--- a/runtime/syntax/python.vim
+++ b/runtime/syntax/python.vim
@@ -1,7 +1,7 @@
" Vim syntax file
" Language: Python
" Maintainer: Zvezdan Petkovic <zpetkovic@acm.org>
-" Last Change: 2025 Aug 13
+" Last Change: 2025 Aug 18
" Credits: Neil Schemenauer <nas@python.ca>
" Dmitry Vasiliev
" Rob B
@@ -372,7 +372,7 @@ if !exists("python_no_doctest_highlight")
endif
" Sync at the beginning of (async) function or class definitions.
-syn sync match pythonSync grouphere NONE "^\%(async\s\+def\|def\|class\)\s\+\h\w*\s*[(:]"
+syn sync match pythonSync grouphere NONE "^\%(def\|class\|async\s\+def\)\s\+\h\w*\s*[(:]"
" The default highlight links. Can be overridden later.
hi def link pythonStatement Statement