Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env ruby
# This is a quick script to generate YASnippets from TextMate Snippets.
#
# I based the script off of a python script of a similar nature by
# Jeff Wheeler: http://nokrev.com
# http://code.nokrev.com/?p=snippet-copier.git;a=blob_plain;f=snippet_copier.py
#
# Usage
#
# Make sure you have the plist and the choice gem installed
@rwc9u
rwc9u / rwc-ruby.el
Created December 9, 2008 16:25
ruby flymake support
;;============================================================
;; flymake
;;============================================================
;; flymake ruby support
;; thanks to Dmitry Galinsky - this was taken from emacs-rails
(require 'flymake nil t)
(defconst flymake-allowed-ruby-file-name-masks
'(("\\.rb\\'" flymake-ruby-init)
("\\.rxml\\'" flymake-ruby-init)