commit 0f3fef9bab31d8e61a8a1a72eef4afbbac60e17a
parent 855eede11ea7888975c643a69691632b28e83894
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri, 12 Sep 2025 08:17:04 +0800
vim-patch:15070ee: runtime(python): Update syntax, fix pythonEllipsis pattern (#35724)
fixes: vim/vim#18263
closes: vim/vim#18264
https://github.com/vim/vim/commit/15070eee2f1e11a69a4c2d99bad03c8f6756e6e0
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/syntax/python.vim b/runtime/syntax/python.vim
@@ -314,7 +314,7 @@ if !exists("python_no_builtin_highlight")
\ contains=ALLBUT,pythonBuiltin,pythonClass,pythonFunction,pythonType,pythonAsync
\ transparent
" the ellipsis literal `...` can be used in multiple syntactic contexts
- syn match pythonEllipsis "\.\@1<!.\.\.\ze\.\@!" display
+ syn match pythonEllipsis "\.\@1<!\.\.\.\ze\.\@!" display
endif
" From the 'Python Library Reference' class hierarchy at the bottom.