mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-10 22:52:51 +09:00
Add string group to syntax files
This commit adds the string group (constant.string) to valid strings in all the syntax files that support colorschemes (see the readme in the runtime/syntax directory). Fixes #178
This commit is contained in:
@@ -33,8 +33,8 @@ color statement "[(){}]" "\[" "\]"
|
||||
color constant "\b[0-9]+\b"
|
||||
|
||||
## strings
|
||||
color constant "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
|
||||
color constant "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
|
||||
color constant.string "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
|
||||
color constant.string "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
|
||||
|
||||
## brightblacks
|
||||
color comment "#.*$"
|
||||
|
||||
Reference in New Issue
Block a user