Skip to content

Instantly share code, notes, and snippets.

@LeBenLeBen
Created April 15, 2016 15:34
Show Gist options
  • Save LeBenLeBen/459108c66d62fe9358dc3485cd10a61b to your computer and use it in GitHub Desktop.
Save LeBenLeBen/459108c66d62fe9358dc3485cd10a61b to your computer and use it in GitHub Desktop.
SublimeText syntax highlighting for Taxi timesheets files (tks)
<?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>tks</string>
</array>
<key>name</key>
<string>Taxi</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>constant.numeric.taxi</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>string.taxi</string>
</dict>
</dict>
<key>comment</key>
<string>alias</string>
<key>match</key>
<string>^([\w?]+)(?:\s+)([\d-?]+)(?:\s+)(.*)</string>
</dict>
<dict>
<key>comment</key>
<string>pushed hours</string>
<key>match</key>
<string>#\s(.*)</string>
<key>name</key>
<string>comment.taxi</string>
</dict>
</array>
<key>scopeName</key>
<string>source.taxi</string>
<key>uuid</key>
<string>fa20eafc-35a3-4d7a-af6d-b72812e4f0ea</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment