Skip to content

Commit

Permalink
Merge pull request #4 from roryokane/patch-2
Browse files Browse the repository at this point in the history
Make string regexes more accurate
  • Loading branch information
SalGnt committed Feb 23, 2015
2 parents 366fdc6 + bd73f5e commit 4b23352
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions VimL.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@
<array>
<dict>
<key>match</key>
<string>"(\\\\|\\"|[^\n"])*"</string>
<string>"(\\\\|\\"|\n[^\S\n]*\\|[^\n"])*"</string>
<key>name</key>
<string>string.quoted.double.viml</string>
</dict>
Expand All @@ -261,7 +261,7 @@
<array>
<dict>
<key>match</key>
<string>'(\\\\|\\'|[^\n'])*'</string>
<string>'(''|\n[^\S\n]*\\|[^\n'])*'</string>
<key>name</key>
<string>string.quoted.single.viml</string>
</dict>
Expand All @@ -273,7 +273,7 @@
<array>
<dict>
<key>match</key>
<string>/(\\\\|\\/|[^\n/])*/</string>
<string>/(\\\\|\\/|\n[^\S\n]*\\|[^\n/])*/</string>
<key>name</key>
<string>string.regexp.viml</string>
</dict>
Expand Down

0 comments on commit 4b23352

Please sign in to comment.