Skip to content

Commit

Permalink
Don't gutter the diff icons any more. Fixes #356.
Browse files Browse the repository at this point in the history
  • Loading branch information
kemayo committed Jul 13, 2014
1 parent 7e400e5 commit 34d32b9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions diff.py
Expand Up @@ -23,12 +23,6 @@ def diff_done(self, result):
else:
view = self.scratch(result, title="Git Diff", syntax=syntax)

lines_inserted = view.find_all(r'^\+[^+]{2} ')
lines_deleted = view.find_all(r'^-[^-]{2} ')

view.add_regions("inserted", lines_inserted, "markup.inserted.diff", "dot", sublime.HIDDEN)
view.add_regions("deleted", lines_deleted, "markup.deleted.diff", "dot", sublime.HIDDEN)

# Store the git root directory in the view so we can resolve relative paths
# when the user wants to navigate to the source file.
view.settings().set("git_root_dir", git_root(self.get_working_dir()))
Expand Down

0 comments on commit 34d32b9

Please sign in to comment.