Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Improve comment.line match.

  • Loading branch information...
commit 037cb3e850b3023cbd5be90ecba121eddb865a76 1 parent 3a4cc39
Michael Sheets infininight authored

Showing 1 changed file with 24 additions and 7 deletions. Show diff stats Hide diff stats

  1. +24 7 Syntaxes/ASP VB.net.plist
31 Syntaxes/ASP VB.net.plist
... ... @@ -1,5 +1,5 @@
1 1 <?xml version="1.0" encoding="UTF-8"?>
2   -<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  2 +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 3 <plist version="1.0">
4 4 <dict>
5 5 <key>comment</key>
@@ -116,19 +116,36 @@
116 116 </dict>
117 117 <dict>
118 118 <key>begin</key>
119   - <string>'</string>
  119 + <string>(^[ \t]+)?(?=')</string>
120 120 <key>beginCaptures</key>
121 121 <dict>
122   - <key>0</key>
  122 + <key>1</key>
123 123 <dict>
124 124 <key>name</key>
125   - <string>punctuation.definition.comment.asp</string>
  125 + <string>punctuation.whitespace.comment.leading.asp</string>
126 126 </dict>
127 127 </dict>
128 128 <key>end</key>
129   - <string>(?=(\n|%&gt;))</string>
130   - <key>name</key>
131   - <string>comment.line.apostrophe.asp</string>
  129 + <string>(?!\G)</string>
  130 + <key>patterns</key>
  131 + <array>
  132 + <dict>
  133 + <key>begin</key>
  134 + <string>'</string>
  135 + <key>beginCaptures</key>
  136 + <dict>
  137 + <key>0</key>
  138 + <dict>
  139 + <key>name</key>
  140 + <string>punctuation.definition.comment.asp</string>
  141 + </dict>
  142 + </dict>
  143 + <key>end</key>
  144 + <string>\n</string>
  145 + <key>name</key>
  146 + <string>comment.line.apostrophe.asp</string>
  147 + </dict>
  148 + </array>
132 149 </dict>
133 150 <dict>
134 151 <key>match</key>

0 comments on commit 037cb3e

Please sign in to comment.
Something went wrong with that request. Please try again.