Skip to content

Commit

Permalink
Merge pull request #15 from nebularg/patch-1
Browse files Browse the repository at this point in the history
Include the surrounding quotes for string.quoted grammars
  • Loading branch information
FireZenk committed May 17, 2015
2 parents 55f1baf + deaedb7 commit 22f40fc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions grammars/lua.cson
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
'name': 'punctuation.definition.string.end.lua'
'name': 'string.quoted.single.lua'
'patterns': [
{
'include': 'punctuation.definition.string.begin.lua'
}
{
'include': 'punctuation.definition.string.end.lua'
}
{
'match': '\\\\.'
'name': 'constant.character.escape.lua'
Expand All @@ -55,6 +61,12 @@
'name': 'punctuation.definition.string.end.lua'
'name': 'string.quoted.double.lua'
'patterns': [
{
'include': 'punctuation.definition.string.begin.lua'
}
{
'include': 'punctuation.definition.string.end.lua'
}
{
'match': '\\\\.'
'name': 'constant.character.escape.lua'
Expand Down

0 comments on commit 22f40fc

Please sign in to comment.