mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 09:48:19 +00:00
vim-patch:15070ee: runtime(python): Update syntax, fix pythonEllipsis pattern (#35724)
fixes: vim/vim#18263
closes: vim/vim#18264
15070eee2f
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
This commit is contained in:
@@ -314,7 +314,7 @@ if !exists("python_no_builtin_highlight")
|
|||||||
\ contains=ALLBUT,pythonBuiltin,pythonClass,pythonFunction,pythonType,pythonAsync
|
\ contains=ALLBUT,pythonBuiltin,pythonClass,pythonFunction,pythonType,pythonAsync
|
||||||
\ transparent
|
\ transparent
|
||||||
" the ellipsis literal `...` can be used in multiple syntactic contexts
|
" the ellipsis literal `...` can be used in multiple syntactic contexts
|
||||||
syn match pythonEllipsis "\.\@1<!.\.\.\ze\.\@!" display
|
syn match pythonEllipsis "\.\@1<!\.\.\.\ze\.\@!" display
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" From the 'Python Library Reference' class hierarchy at the bottom.
|
" From the 'Python Library Reference' class hierarchy at the bottom.
|
||||||
|
Reference in New Issue
Block a user