Permalink
Browse files

temporary fix for issue with gutter icons in ST3

  • Loading branch information...
1 parent b489d1a commit 423242d2f52d223088ae6f4e5e8a1dbe6f266ca8 @gornostal committed Feb 16, 2013
Showing with 13 additions and 0 deletions.
  1. +13 −0 Modific.py
View
@@ -8,6 +8,19 @@
import re
+def plugin_loaded():
+ """
+ Ugly hack for icons in ST3
+ kudos: https://github.com/facelessuser/BracketHighlighter/blob/BH2ST3/bh_core.py#L1380
+ """
+ from os import makedirs
+ from os.path import exists, join
+
+ icon_path = join(sublime.packages_path(), "Theme - Default")
+ if not exists(icon_path):
+ makedirs(icon_path)
+
+
def get_settings():
return sublime.load_settings("Modific.sublime-settings")

0 comments on commit 423242d

Please sign in to comment.