Home

Awesome

A Sublime Text / TextMate Bundle for Slim

Description

This is a Sublime Text / TextMate bundle for Slim template language. The puprose of this bundle is to improve the original bundle by Fred Wu. Since Slim doesn't really need any snippets, this package includes only syntax highlighting and comment hotkey support.

Features

Screenshots

Original bundle

Original

This bundle

This

Installation

Sublime Text 2/3

cd <Your Sublime Text Packages Directory>
git clone https://github.com/tycooon/slim-tmbundle.git Slim.tmbundle

Notes

This syntax highlighting file was developed using a nice tool called AAAPackageDev which allows to edit a JSON file and then convert it to tmLanguage XML. This really helped me a lot since editing Property List format file is a huge pain. Sublime Text provides split view and custom build systems, so I can just press one button and instantly see all the changes I've made taking place in a sample slim file that I have open in a split view. I've actually left the JSON-tmLanguage file in the sources so you are free to compare how much more readable it is. Maybe this info might help someone who is looking into creating tmLanguage files.

If you have any questions or suggestions, you are welcome to post an issue or message me directly.

Author

Yuri Smirnov (tycoooon@gmail.com)