Skip to content

Instantly share code, notes, and snippets.

View phillipkoebbe's full-sized avatar

Phillip Koebbe phillipkoebbe

  • Carlinville, IL
View GitHub Profile
@phillipkoebbe
phillipkoebbe / syntax_highlighting.py
Created December 19, 2011 16:07 — forked from JeanMertz/syntax_highlighting.py
Syntax highlight switcher for Sublime Text 2
import sublime, sublime_plugin
import os, string, re
class DetectFileTypeCommand(sublime_plugin.EventListener):
""" Attempts to choose the correct syntax when more than one could apply. """
def __init__(self):
super(DetectFileTypeCommand, self).__init__()
self.path = None