feat(SublimeText2.GitPackages): cache packages

This commit is contained in:
Iristyle
2013-04-04 08:55:33 -04:00
parent c3efdad2c2
commit c0f9c6d45a
109 changed files with 15317 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
{ "name": "Git Blame",
"scopeName": "text.git-blame",
"fileTypes": ["git-blame"],
"patterns": [
{
"match": "^(\\^?[a-f0-9]+)\\s+([\\w\\-\\d\\.\\/]*)\\s*\\((.*?)\\s+(\\d{4}-\\d\\d-\\d\\d \\d\\d:\\d\\d:\\d\\d [+-]\\d{4})\\s+(\\d+)\\)",
"name": "line.comment.git-blame",
"captures": {
"1": {"name": "string.sha.git-blame"},
"2": {"name": "string.path.git-blame"},
"3": {"name": "support.function.author.git-blame"},
"4": {"name": "constant.numeric.date.git-blame"},
"5": {"name": "variable.parameter.line-number.git-blame"}
}
}
],
"uuid": "5d37add9-889e-4174-b232-4bd423b84c0a"
}

View File

@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>git-blame</string>
</array>
<key>name</key>
<string>Git Blame</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>string.sha.git-blame</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>string.path.git-blame</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>support.function.author.git-blame</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>constant.numeric.date.git-blame</string>
</dict>
<key>5</key>
<dict>
<key>name</key>
<string>variable.parameter.line-number.git-blame</string>
</dict>
</dict>
<key>match</key>
<string>^(\^?[a-f0-9]+)\s+([\w\-\d\.\/]*)\s*\((.*?)\s+(\d{4}-\d\d-\d\d( \d\d:\d\d:\d\d [+-]\d{4})?)\s+(\d+)\)</string>
<key>name</key>
<string>line.comment.git-blame</string>
</dict>
</array>
<key>scopeName</key>
<string>text.git-blame</string>
<key>uuid</key>
<string>5d37add9-889e-4174-b232-4bd423b84c0a</string>
</dict>
</plist>

View File

@@ -0,0 +1,21 @@
{ "name": "Git Commit Message",
"scopeName": "text.git-commit",
"fileTypes": ["COMMIT_EDITMSG"],
"patterns": [
{ "name": "comment.line.number-sign.git-commit",
"match": "^\\s*(#).*$\n?",
"captures": {
"1": { "name": "punctuation.definition.comment.git-commit" }
}
},
{ "name": "meta.diff.git-commit",
"comment": "diff at the end of the commit message when using commit -v, or viewing a log. End pattern is just something to be never matched so that the meta continues untill the end of the file.",
"begin": "diff\\ \\-\\-git",
"end": "(?=xxxxxx)123457",
"patterns": [
{ "include": "source.diff" }
]
}
],
"uuid": "de3fb2fc-e564-4a31-9813-5ee26967c5c8"
}

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>COMMIT_EDITMSG</string>
</array>
<key>name</key>
<string>Git Commit Message</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.git-commit</string>
</dict>
</dict>
<key>match</key>
<string>^\s*(#).*$
?</string>
<key>name</key>
<string>comment.line.number-sign.git-commit</string>
</dict>
<dict>
<key>begin</key>
<string>diff\ \-\-git</string>
<key>comment</key>
<string>diff at the end of the commit message when using commit -v, or viewing a log. End pattern is just something to be never matched so that the meta continues untill the end of the file.</string>
<key>end</key>
<string>(?=xxxxxx)123457</string>
<key>name</key>
<string>meta.diff.git-commit</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.diff</string>
</dict>
</array>
</dict>
</array>
<key>scopeName</key>
<string>text.git-commit</string>
<key>uuid</key>
<string>de3fb2fc-e564-4a31-9813-5ee26967c5c8</string>
</dict>
</plist>

View File

@@ -0,0 +1,31 @@
{ "name": "Git Graph",
"scopeName": "text.git-graph",
"fileTypes": ["git-graph"],
"patterns": [
{ "match": "^([| *\\\\]+)([0-9a-f]{4,40}) (.*?) (\\d{4}-\\d\\d-\\d\\d \\d\\d:\\d\\d:\\d\\d [+-]\\d{4}) (?:\\(((?:[a-zA-Z0-9._\\-\\/]+(?:, )?)+)\\) )?",
"name": "log-entry.git-graph",
"captures": {
"1": {"name": "comment.git-graph" },
"2": {"name": "string.git-graph" },
"3": {"name": "support.function.git-graph" },
"4": {"name": "constant.numeric.git-graph" },
"5": {"name": "variable.parameter.git-graph" }
}
},
{ "match": "^\\|[\\|_\\/\\\\ ]+\n?$",
"name": "comment.git-graph",
"comment": "lines with no commit details"
},
{ "match": "(?:[Ff]ix(?:e[ds])?|[Rr]esolve[ds]?|[Cc]lose[ds]?)?\\s*(?:#\\d+|\\[.*?\\])",
"name": "keyword.git-graph",
"comment": "issue numbers"
},
{ "match": "Merge branch '(.*?)' of .*?\n?$",
"name": "comment.git-graph",
"captures": {
"1": {"name": "variable.parameter.git-graph"}
}
}
],
"uuid": "b900521e-af64-471b-aec8-1ecf88aab595"
}

View File

@@ -0,0 +1,90 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>git-graph</string>
</array>
<key>name</key>
<string>Git Graph</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>comment.git-graph</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>string.git-graph</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>support.function.git-graph</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>constant.numeric.git-graph</string>
</dict>
<key>5</key>
<dict>
<key>name</key>
<string>variable.parameter.git-graph</string>
</dict>
<key>6</key>
<dict>
<key>name</key>
<string>keyword.git-graph</string>
</dict>
</dict>
<key>match</key>
<string>^([| *\\]+)([0-9a-f]{4,40}) -( \(.*?\))? (.*) (\(.*) (&lt;.*&gt;) .*</string>
<key>name</key>
<string>log-entry.git-graph</string>
</dict>
<dict>
<key>comment</key>
<string>lines with no commit details</string>
<key>match</key>
<string>^\|[\|_\/\\ ]+
?$</string>
<key>name</key>
<string>comment.git-graph</string>
</dict>
<dict>
<key>comment</key>
<string>issue numbers</string>
<key>match</key>
<string>(?:[Ff]ix(?:e[ds])?|[Rr]esolve[ds]?|[Cc]lose[ds]?)?\s*(?:#\d+|\[.*?\])</string>
<key>name</key>
<string>keyword.git-graph</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>variable.parameter.git-graph</string>
</dict>
</dict>
<key>match</key>
<string>Merge branch '(.*?)' of .*?
?$</string>
<key>name</key>
<string>comment.git-graph</string>
</dict>
</array>
<key>scopeName</key>
<string>text.git-graph</string>
<key>uuid</key>
<string>b900521e-af64-471b-aec8-1ecf88aab595</string>
</dict>
</plist>