Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRosenwasser committed Nov 5, 2015
0 parents commit 8f0cc8e
Show file tree
Hide file tree
Showing 10 changed files with 5,777 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Comments.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
<string>Comments</string>
<key>scope</key>
<string>source.ts, source.tsx</string>
<key>settings</key>
<dict>
<key>shellVariables</key>
<array>
<dict>
<key>name</key>
<string>TM_COMMENT_START</string>
<key>value</key>
<string>// </string>
</dict>
<dict>
<key>name</key>
<string>TM_COMMENT_START_2</string>
<key>value</key>
<string>/*</string>
</dict>
<dict>
<key>name</key>
<string>TM_COMMENT_END_2</string>
<key>value</key>
<string>*/</string>
</dict>
</array>
</dict>
<key>uuid</key>
<string>A67A8BD9-A951-406F-9175-018DD4B52FD1</string>
</dict>
</plist>
34 changes: 34 additions & 0 deletions ErrorList.YAML-tmLanguage
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# [PackageDev] target_format: plist, ext: tmLanguage
---
name: Error List
scopeName: text.error-list
uuid: 52410ea6-4de5-4b0e-9be7-12842e39a3a6

patterns:
- include: '#error-count'
- include: '#filename'
- include: '#message'

repository:
filename:
match: ^([^ ].*:)$
captures:
'1': {name: entity.name.filename.error-list}

error-count:
match: (?<=\[)(\d+\s*errors)(?=\])
captures:
'1': {name: keyword.other.error-list}

message:
begin: \(
end: \n
patterns:
- include: '#location'

location:
match: (?<=\()(\d+),\s*(\d+)(?=\))
captures:
'1': {name: constant.numeric.location.error-list}
'2': {name: constant.numeric.location.error-list}
...
Loading

0 comments on commit 8f0cc8e

Please sign in to comment.