summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-09-12 08:17:04 +0800
committerGitHub <noreply@github.com>2025-09-12 00:17:04 +0000
commit0f3fef9bab31d8e61a8a1a72eef4afbbac60e17a (patch)
treeeacfa6c6647cb5743d536fe9a8d984d9f8294a49 /runtime/syntax/python.vim
parent855eede11ea7888975c643a69691632b28e83894 (diff)
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 (limited to 'runtime/syntax/python.vim')
-rw-r--r--runtime/syntax/python.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/syntax/python.vim b/runtime/syntax/python.vim
index eb1be624fd..138a04b461 100644
--- 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.