Skip to content

Commit 833274b

Browse files
committed
• make /** comments */ be comment.documentation.phpdoc.php
git-svn-id: http://svn.textmate.org/trunk/Bundles/PHP.tmbundle@5540 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
1 parent f7525f6 commit 833274b

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

Syntaxes/PHP.plist

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,21 +169,29 @@
169169
</dict>
170170
<dict>
171171
<key>begin</key>
172-
<string>/\*</string>
172+
<string>/\*\*(?!/)</string>
173173
<key>end</key>
174174
<string>\*/</string>
175175
<key>name</key>
176-
<string>comment.block.php</string>
176+
<string>comment.documentation.phpdoc.php</string>
177177
<key>patterns</key>
178178
<array>
179179
<dict>
180180
<key>match</key>
181-
<string>\@(a(ccess|uthor)|c(ategory|opyright)|global|link|pa(ckage|ram)|return|s(ee|ince|tatic|ubpackage)|t(hrows|odo)|v(ar|ersion))\b</string>
181+
<string>\@(a(ccess|uthor)|c(ategory|opyright)|global|li(cense|nk)|pa(ckage|ram)|return|s(ee|ince|tatic|ubpackage)|t(hrows|odo)|v(ar|ersion))\b</string>
182182
<key>name</key>
183183
<string>keyword.other.phpdoc.php</string>
184184
</dict>
185185
</array>
186186
</dict>
187+
<dict>
188+
<key>begin</key>
189+
<string>/\*</string>
190+
<key>end</key>
191+
<string>\*/</string>
192+
<key>name</key>
193+
<string>comment.block.php</string>
194+
</dict>
187195
<dict>
188196
<key>match</key>
189197
<string>//.*$\n?</string>

0 commit comments

Comments
 (0)