Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Use full PLUGIN_DIRECTORY path #232

wants to merge 1 commit into from

1 participant


I symlink my Sublime Packages from a directory outside of the normal
location. Not having the full path was causing issues when changing
to syntaxes included in this plugin. Other people might symlink as


Other updates seem to have fixed the problem I was originally having.

@joedynamite joedynamite closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 23, 2013
  1. @joedynamite
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1 
2 
@@ -11,7 +11,7 @@
# __file__ is useless for my purposes. What I want is "Packages/Git", but
# allowing for the possibility that someone has renamed the file.
# Fun discovery: Sublime on windows still requires posix path separators.
-PLUGIN_DIRECTORY = os.getcwd().replace(os.path.normpath(os.path.join(os.getcwd(), '..', '..')) + os.path.sep, '').replace(os.path.sep, '/')
+PLUGIN_DIRECTORY = os.getcwd().replace(os.path.sep, '/')
git_root_cache = {}
Something went wrong with that request. Please try again.