diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-09-12 08:17:04 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-12 00:17:04 +0000 |
| commit | 0f3fef9bab31d8e61a8a1a72eef4afbbac60e17a (patch) | |
| tree | eacfa6c6647cb5743d536fe9a8d984d9f8294a49 /runtime/syntax/python.vim | |
| parent | 855eede11ea7888975c643a69691632b28e83894 (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.vim | 2 |
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. |
