-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
NathanJang
committed
Nov 30, 2014
1 parent
d033e01
commit 146efe4
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
KSP-tmLanguage | ||
============== | ||
|
||
A .tmLanguage specification for KSP. | ||
This is a `.tmLanguage` specification for configuration files in [Kerbal Space Program](https://kerbalspaceprogram.com/), including `persistent.sfs` and `part.cfg` files. I developed this for syntax highlighting when editing these files in [Sublime Text](http://www.sublimetext.com/). | ||
|
||
`KSP configuration.JSON-tmLanguage` is the JSON "source" for the specification, which can be "compiled" into the XML `.tmLanguage` type with [AAAPackageDev](https://github.com/SublimeText/AAAPackageDev). All the work is done in the JSON, so it includes comments. | ||
|
||
To use with Sublime Text select Sublime Text Preferences -> Browse Packages... in Sublime Text, and copy `KSP configuration.tmLanguage` to `Packages/User/`. | ||
|
||
[Here's how it looks.](http://i.imgur.com/AZNdorq.png) | ||
|
||
I am quite new to regex so I welcome suggestions. It's far from complete. |