Giter Club home page Giter Club logo

swig.tmbundle's Introduction

About

This is a TextMate bundle for Swig, a template engine for Node.js.

Installation

git clone [email protected]:paularmstrong/Swig.tmbundle.git && open Swig.tmbundle

Included

Language Definition

Swig assumes it is a subset of the HTML language definition. All HTML-based commands and preferences are extended via the Swig bundle.

This bundle adds support for tag-folding, Swig comments, and smart typing pairs.

Tags

All tags support tab-completion

block⇥

{% block ${1:blockname} %}
    $0
{% endblock %}

Filters

Filters are supported under the ⌘\ keyboard command. Hit ⌘\ to get a list of built-in filters.

License

Copyright (c) 2011 Paul Armstrong, Paul Armstrong Designs

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

swig.tmbundle's People

Contributors

paularmstrong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

swig.tmbundle's Issues

git clone - permission denied

I got error while git clone on git software...

Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Forking to Ace editor

Hey, mind if I use this to make a syntax highlighting mode for the Ace editor? How shall I credit you in it?

HTML is not highlighted in WebStorm

WebStorm has Textmate bundles support, but I'm not getting this bundle to work as expected.

How do I get Swig code and HTML code highlighted in the same file in WebStorm on Windows?

This is what I get:
webstorm-swig

I've tried installing and enabling the HTML textmate bundle as well, but when both the HTML and the Swig bundle are activated, the code is highlighted as only HTML. If I disable the HTML bundle but have the Swig bundle still active, I only get Swig highlighting.

Read more: http://stackoverflow.com/questions/26913637/webstorm-syntax-highlighting-for-swig-template-engine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.