Skip to content

Instantly share code, notes, and snippets.

@umuro
Created June 4, 2012 10:51
Show Gist options
  • Save umuro/2867732 to your computer and use it in GitHub Desktop.
Save umuro/2867732 to your computer and use it in GitHub Desktop.
Ruby colorize non-rb files. Enable ruby coloring on files that does not end with .rb
# kate: syntax ruby;
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Add those comments to colorize non-rb files automatically. It happens that not all ruby files have the rb extension.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment