mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
runtime(python): Update syntax, fix pythonEllipsis pattern
fixes: #18263 closes: #18264 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
5a9ef93b2c
commit
15070eee2f
@@ -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.
|
||||
|
Reference in New Issue
Block a user