mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +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:
@@ -22,8 +22,8 @@ color statement "--[a-z-]+"
|
||||
color statement "\ -[a-z]+"
|
||||
|
||||
# Strings
|
||||
color constant ""(\\.|[^"])*""
|
||||
color constant "'(\\.|[^'])*'"
|
||||
color constant.string ""(\\.|[^"])*""
|
||||
color constant.string "'(\\.|[^'])*'"
|
||||
color special """
|
||||
color special "'"
|
||||
|
||||
@@ -33,4 +33,4 @@ color identifier (i) "\$\{?[0-9A-Z_!@#$*?-]+\}?"
|
||||
|
||||
# Comments & TODOs
|
||||
color comment "(^|[[:space:]])#.*$"
|
||||
color todo "(TODO|XXX|FIXME):?"
|
||||
color todo "(TODO|XXX|FIXME):?"
|
||||
|
||||
Reference in New Issue
Block a user