Skip to content

Commit c0911d5

Browse files
authored
Merge pull request #130 from reitermarkus/patch-2
Add `__dir__` variable.
2 parents 5c7d343 + 2a5ec19 commit c0911d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Syntaxes/Ruby.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269
</dict>
270270
<dict>
271271
<key>match</key>
272-
<string>\b(__(FILE|LINE)__)\b(?![?!])</string>
272+
<string>\b(__(dir|FILE|LINE)__)\b(?![?!])</string>
273273
<key>name</key>
274274
<string>variable.language.ruby</string>
275275
</dict>

0 commit comments

Comments
 (0)