vim/syntax/python.vim @ 4e6f3d36c241

highligh on lines with three or more instances of profanity
author Steve Losh <steve@stevelosh.com>
date Mon, 02 Jun 2014 11:39:16 -0700
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