Guest User

Untitled

a guest
Feb 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. Index: Bundles/Perl.tmbundle/Syntaxes/Perl.plist
  2. ===================================================================
  3. --- Bundles/Perl.tmbundle/Syntaxes/Perl.plist (revision 5936)
  4. +++ Bundles/Perl.tmbundle/Syntaxes/Perl.plist (working copy)
  5. @@ -943,16 +943,35 @@
  6. <key>3</key>
  7. <dict>
  8. <key>name</key>
  9. + <string>storage.type.method.perl</string>
  10. + </dict>
  11. + </dict>
  12. + <key>match</key>
  13. + <string>^\s*(sub)\s+([-a-zA-Z0-9_]+)\s*(\([\$\@\*;]*\))?</string>
  14. + <key>name</key>
  15. + <string>meta.function.perl</string>
  16. + </dict>
  17. + <dict>
  18. + <key>captures</key>
  19. + <dict>
  20. + <key>1</key>
  21. + <dict>
  22. + <key>name</key>
  23. + <string>entity.name.function.perl</string>
  24. + </dict>
  25. + <key>2</key>
  26. + <dict>
  27. + <key>name</key>
  28. <string>punctuation.definition.parameters.perl</string>
  29. </dict>
  30. - <key>4</key>
  31. + <key>3</key>
  32. <dict>
  33. <key>name</key>
  34. <string>variable.parameter.function.perl</string>
  35. </dict>
  36. </dict>
  37. <key>match</key>
  38. - <string>^\s*(sub)\s+([-a-zA-Z0-9_]+)\s*(?:(\()(.*?)(\)))?</string>
  39. + <string>^\s*(BEGIN|END|DESTROY)\b</string>
  40. <key>name</key>
  41. <string>meta.function.perl</string>
  42. </dict>
Add Comment
Please, Sign In to add comment