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 folderIn 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.