Created
August 20, 2013 14:38
-
-
Save afgomez/6282247 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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