Skip to content

Instantly share code, notes, and snippets.

@afgomez
Created August 20, 2013 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afgomez/6282247 to your computer and use it in GitHub Desktop.
Save afgomez/6282247 to your computer and use it in GitHub Desktop.
diff --git a/SublimeLinter.py b/SublimeLinter.py
index 1e4e670..529b5f0 100644
--- a/SublimeLinter.py
+++ b/SublimeLinter.py
@@ -39,7 +39,7 @@ DELAYS = (
# "alpha", "bright", "dark", "hard" and "simple"
MARK_THEMES = ('alpha', 'bright', 'dark', 'hard', 'simple')
# The path to the built-in gutter mark themes
-MARK_THEMES_PATH = os.path.join('..', 'SublimeLinter', 'gutter_mark_themes')
+MARK_THEMES_PATH = os.path.join('Packages', 'SublimeLinter', 'gutter_mark_themes')
# The original theme for anyone interested the previous minimalist approach
ORIGINAL_MARK_THEME = {
'violation': 'dot',
@@ -261,6 +261,7 @@ def add_lint_marks(view, lines, error_underlines, violation_underlines, warning_
gutter_mark_image = os.path.join(MARK_THEMES_PATH, gutter_mark_theme + '-' + lint_type)
else:
gutter_mark_image = gutter_mark_theme + '-' + lint_type
+ gutter_mark_image += '.png'
args.append(gutter_mark_image)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment