mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 06:12:35 +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:
@@ -20,8 +20,8 @@ color constant "[A-Z][A-Z_]+"
|
||||
color type "[A-Z][a-z]+"
|
||||
|
||||
# Strings
|
||||
color constant "\".*\""
|
||||
color constant start="\".*\\$" end=".*\""
|
||||
color constant.string "\".*\""
|
||||
color constant.string start="\".*\\$" end=".*\""
|
||||
# NOTE: This isn't accurate but matching "#{0,} for the end of the string is too liberal
|
||||
color green start="r#+\"" end="\"#+"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user