Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Oct 7, 2016
0 parents commit b750641
Show file tree
Hide file tree
Showing 7 changed files with 1,302 additions and 0 deletions.
22 changes: 22 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (c) 2016 Baptiste Augrain

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[kaoscript/highlight-textmate](https://github.com/kaoscript/highlight-textmate)
=================================================================

[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](./LICENSE)

Provides syntax highlighting support for [kaoscript](https://github.com/kaoscript/kaoscript) in [TextMate](https://macromates.com/).

License
-------

Copyright © 2016 Baptiste Augrain

Licensed under the [MIT license](http://www.opensource.org/licenses/mit-license.php).
48 changes: 48 additions & 0 deletions kaoscript.tmbundle/Preferences/Comments.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?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>name</key>
<string>Comments</string>
<key>scope</key>
<string>source.ks</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>
<dict>
<key>name</key>
<string>TM_COMMENT_START_3</string>
<key>value</key>
<string>---</string>
</dict>
<dict>
<key>name</key>
<string>TM_COMMENT_END_3</string>
<key>value</key>
<string>---</string>
</dict>
</array>
</dict>
<key>uuid</key>
<string>CE6DB402-355E-4E09-AC79-68027F04F2FB</string>
</dict>
</plist>
19 changes: 19 additions & 0 deletions kaoscript.tmbundle/Preferences/Folding.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?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>name</key>
<string>Folding</string>
<key>scope</key>
<string>source.ks</string>
<key>settings</key>
<dict>
<key>foldingStartMarker</key>
<string>\{\s*(//.*)?$|\[\s*(//.*)?$|\(\s*(//.*)?$</string>
<key>foldingStopMarker</key>
<string>^\s*\}|^\s*\]|^\s*\)</string>
</dict>
<key>uuid</key>
<string>A5AD523A-5272-49C1-958C-A87047BD4AD2</string>
</dict>
</plist>
19 changes: 19 additions & 0 deletions kaoscript.tmbundle/Preferences/Indentation.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?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>name</key>
<string>Indentation</string>
<key>scope</key>
<string>source.ks</string>
<key>settings</key>
<dict>
<key>decreaseIndentPattern</key>
<string>^\s*(?:\s*/[*].*[*]/\s*)*[})\]]</string>
<key>increaseIndentPattern</key>
<string>\{[^}"\'`]*$|\[[^\]"\'`]*$|\([^)"\'`]*$</string>
</dict>
<key>uuid</key>
<string>A359954E-31C6-413B-8104-0B9699B530DD</string>
</dict>
</plist>
Loading

0 comments on commit b750641

Please sign in to comment.