Converts tmLanguage
to sublime-syntax
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
sublime_syntax_convertor files
sublime_syntax_convertor folder
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.