samholmes / EJS.tmLanguage

An EJS syntax definition specifically for sublime text
48 stars 28 forks source link

The EJS Sublime Package

A lightweight Sublime Text package for EJS.

Installation & Use

Use Package Control to install EJS in Sublime Text.

Once installed, all .ejs files are opened using the EJS syntax by default.

Snippets

The following snippets are supported in the HTML scope.

= + Tab

Inserts EJS open and closing tags (<%= %>). Press tab again to move selection ahead and accept the = character, or press spacebar to delete the = character.

if + Tab

Inserts EJS open and closing tags with JavaScript if and else statements (<% if (condition) { } else { } %>).

Support

Please provide feedback and issues here.

Pull request are wellcome and donations are also appreciated.

PayPal Donation
1Ep5xmuRhFQREJ9BjPnySmtK3fxkWankDc