Merge pull request #193 from timon999/master

Small improve for how Python's syntax highlighting handles string literals
This commit is contained in:
Zachary Yedidia
2016-07-13 15:16:46 -04:00
committed by GitHub
2 changed files with 100 additions and 101 deletions

File diff suppressed because one or more lines are too long

View File

@@ -33,8 +33,7 @@ color statement "[(){}]" "\[" "\]"
color constant "\b[0-9]+\b"
## strings
color constant.string "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
color constant.string "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
## brightblacks
color comment "#.*$"