vim/syntax/python.vim @ a362de5d1aa1

More
author Steve Losh <steve@stevelosh.com>
date Thu, 23 Jan 2020 23:35:15 -0500
parents 80e8bc166d00
children (none)
syn match  pythonBlock		":$" nextgroup=pythonDocString skipempty skipwhite
syn region pythonDocString	matchgroup=Normal start=+[uU]\='+ end=+'+ skip=+\\\\\|\\'+ contains=pythonEscape,@Spell contained
syn region pythonDocString	matchgroup=Normal start=+[uU]\="+ end=+"+ skip=+\\\\\|\\"+ contains=pythonEscape,@Spell contained
syn region pythonDocString	matchgroup=Normal start=+[uU]\="""+ end=+"""+ contains=pythonEscape,@Spell contained
syn region pythonDocString	matchgroup=Normal start=+[uU]\='''+ end=+'''+ contains=pythonEscape,@Spell contained
hi def link pythonDocString	Comment