Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improve comment.line match.

  • Loading branch information...
commit 037cb3e850b3023cbd5be90ecba121eddb865a76 1 parent 3a4cc39
@infininight infininight authored
Showing with 24 additions and 7 deletions.
  1. +24 −7 Syntaxes/ASP VB.net.plist
View
31 Syntaxes/ASP VB.net.plist
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>comment</key>
@@ -116,19 +116,36 @@
</dict>
<dict>
<key>begin</key>
- <string>'</string>
+ <string>(^[ \t]+)?(?=')</string>
<key>beginCaptures</key>
<dict>
- <key>0</key>
+ <key>1</key>
<dict>
<key>name</key>
- <string>punctuation.definition.comment.asp</string>
+ <string>punctuation.whitespace.comment.leading.asp</string>
</dict>
</dict>
<key>end</key>
- <string>(?=(\n|%&gt;))</string>
- <key>name</key>
- <string>comment.line.apostrophe.asp</string>
+ <string>(?!\G)</string>
+ <key>patterns</key>
+ <array>
+ <dict>
+ <key>begin</key>
+ <string>'</string>
+ <key>beginCaptures</key>
+ <dict>
+ <key>0</key>
+ <dict>
+ <key>name</key>
+ <string>punctuation.definition.comment.asp</string>
+ </dict>
+ </dict>
+ <key>end</key>
+ <string>\n</string>
+ <key>name</key>
+ <string>comment.line.apostrophe.asp</string>
+ </dict>
+ </array>
</dict>
<dict>
<key>match</key>
Please sign in to comment.
Something went wrong with that request. Please try again.