Skip to content

NathanJang/KSP-tmLanguage

Repository files navigation

Kerbal Space Program Configuration Syntax

Screenshot of persistent.sfs

This is a .tmLanguage specification for configuration files in Kerbal Space Program, including persistent.sfs and part.cfg files. I developed this for syntax highlighting when editing these files in Sublime Text.

It mostly supports ModuleManager syntax:

Screenshot of FerramAerospaceResearch.cfg

Note: this screenshot contains data from Ferram-Aerospace-Research by ferram4, licenced under GNU.

KSP configuration.JSON-tmLanguage is the JSON "source" for the specification, which can be "compiled" into the XML .tmLanguage type with AAAPackageDev. All the work is done in the JSON.

Installation

Installation through Package Control is preferred.

Contributing

Please file an issue or fork if you have any suggestions!