mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-17 22:37:10 +09:00
Merge pull request #193 from timon999/master
Small improve for how Python's syntax highlighting handles string literals
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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 "#.*$"
|
||||
|
||||
Reference in New Issue
Block a user