vim/syntax/python.vim @ e26cbad72614

vim: add python subrepo
author Steve Losh <steve@stevelosh.com>
date Mon, 07 Mar 2011 09:40:42 -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