Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Vim syntax for mojo epl templates in Mojo projects

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 after
Octocat-spinner-32 ftdetect
Octocat-spinner-32 snippets fixed submit snippet June 10, 2011
Octocat-spinner-32 syntax Artistic 2.0 February 06, 2014
Octocat-spinner-32 t
Octocat-spinner-32 Changes
Octocat-spinner-32 LICENSE
Octocat-spinner-32 Makefile
Octocat-spinner-32 README
README
Mojo templates Syntax file
Language: Mojo templates
By yko <ykorshak@gmail.com>
License: Artistic 2.0

DESCRIPTION

Syntax file for highlighting embedded Perl code in Mojo templates.
Designed to highlight syntax of both .html.ep and .html.epl formats.
Also you can allow syntax highliting for __DATA__ section of Perl files.

INSTALLATION

    make install

CONFIGURATION

Configurations variables:

    :let mojo_highlight_data = 1

Highlight embedded Perl code in __DATA__ sections of your Perl files.

    :let mojo_disable_html = 1

Don't highlight html inside __DATA__ templates - Perl code only.

    :let mojo_no_helpers = 1

Don't highlight default and tag helpers.

OPTIONAL DEPENDENCIES

Once snipMate.vim installed autocomplete for helpers and template blocks became available.
See http://www.vim.org/scripts/script.php?script_id=2540 and snippets/epl.snippets for details.

Text::VimColor is required to run optional development purposes tests:

    make test

CREDITS

Viacheslav Tykhanovskyi, the greatest - co-founding and optimization
Something went wrong with that request. Please try again.