Skip to content

aziz/SublimeSyntaxConvertor

Repository files navigation

Sublime Syntax Convertor

Converts tmLanguage to sublime-syntax

Install

Add this line to your application's Gemfile:

gem 'sublime_syntax_convertor'

And then execute:

bundle

Or install it yourself as:

gem install sublime_syntax_convertor

USAGE

Command line

sublime_syntax_convertor files
sublime_syntax_convertor folder

In your code

require 'sublime_syntax_convertor'
file = File.read(tmLanguage_file)
convertor = SublimeSyntaxConvertor::Convertor.new(file)
sublime_syntax = convertor.to_yaml

© Copyright 2015 Allen Bargi. See LICENSE for details.

About

Converts tmLanguage to sublime-syntax

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages