Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Only do special formatting of radar links when we have 3 captures

Closes #9.
  • Loading branch information...
commit e77e5afc5c6b9d9387a1cbcc536755cead93e937 1 parent d347aa9
@sorbits sorbits authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Commands/todo.plist
View
2  Commands/todo.plist
@@ -94,7 +94,7 @@ TextMate.each_text_file do |file|
part = $1 or next
- if tag[:label] == "RADAR" then
+ if tag[:label] == "RADAR" && $~.captures.count == 3 then
url, display = (ENV['TM_RDAR_URL'] || "http://openradar.appspot.com/") + $2, "rdar://" + $2
match[:match] = html_escape($1) + "<a href=\"" + url + "\" target=\"_blank\">" + html_escape(display) + "</a>" + html_escape($3)
else
Please sign in to comment.
Something went wrong with that request. Please try again.