Skip to content

SublimeText/Slim

 
 

Repository files navigation

Ruby Slim

Ruby Slim Template Language syntax definitions and snippets for Sublime Text.

Installation

Package Control

The easiest way to install is using Package Control. It's listed as Ruby Slim.

  1. Open Command Palette using ctrl+shift+P or menu item Tools → Command Palette...
  2. Choose Package Control: Install Package
  3. Find Ruby Slim and hit Enter

Manual Install

You can clone this repository into your Sublime Text/Packages

Note

To find Packages folder call Menu > Preferences > Browse Packages...

Mac OS
cd ~/Library/Application\ Support/Sublime\ Text/Packages/
git clone https://github.com/SublimeText/Slim.git "Ruby Slim"
Linux
cd ~/.config/sublime-text/Packages
git clone https://github.com/SublimeText/Slim.git "Ruby Slim"
Windows
cd "%APPDATA%\Sublime Text\Packages"
git clone https://github.com/SublimeText/Slim.git "Ruby Slim"

Requirements

  • Ruby Slim 2.0.0 requires Sublime Text 4107+

  • Syntax highlighting in filters tags is powered by 3rd-party packages

  • Old TextMate compatible ruby-slim.tmbundle is installed on Sublime Text 2 and 3. It is however no longer actively maintained.