condemil / gist

Sublime Text plugin for creating new Gists from selected text
MIT License
725 stars 136 forks source link

Fixed a "bug" where gist_open would only open files of type "/text". #107

Closed shapov closed 10 years ago

shapov commented 11 years ago

Fixes #105

ledovsky commented 11 years ago

Why is it still not in master?

ledovsky commented 11 years ago

Tried fixed version but still can't open syntax specific files. Sublime 3, Mac OS X 10.9 64 bits

shapov commented 11 years ago

@MyPetIsBear If I could take a look at you gist.py file, perhaps I'd be able to diagnose your issue.

ledovsky commented 11 years ago

I used code from git@github.com:shapov/Gist.git I looked through the code, file type check is commented but it still doesn't work. I'll try to check it out.

ledovsky commented 11 years ago

File loading works now! I had to relaunch sublime.

shapov commented 11 years ago

In Sublime Text open console, View | Show Console in the menu.

Execute this command sublime.packages_path(). That should give you the path sublime uses to load packages.

Also, check this Packages Documentation it might shed some more light on what you are looking for.