Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow comments on import lines
Also use \b around import to require a word boundary.
  • Loading branch information
infininight committed Aug 18, 2013
1 parent 32907aa commit 1af468e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Syntaxes/Haskell.plist
Expand Up @@ -164,7 +164,7 @@
</dict>
<dict>
<key>begin</key>
<string>(import)</string>
<string>\b(import)\b</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
Expand All @@ -174,7 +174,7 @@
</dict>
</dict>
<key>end</key>
<string>($|;)</string>
<string>($|;|(?=--))</string>
<key>name</key>
<string>meta.import.haskell</string>
<key>patterns</key>
Expand Down

0 comments on commit 1af468e

Please sign in to comment.