Skip to content

Commit

Permalink
Fix the toggled state of CursorRuler not staying persistent between r…
Browse files Browse the repository at this point in the history
…estarts of Sublime Text
  • Loading branch information
icylace committed Jul 28, 2016
1 parent 49304ec commit 287ab0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CursorRuler.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@ def run(self, edit):
CursorRuler.reset_all()
else:
CursorRuler.enabled = True
CursorRuler.draw(self.view)

CursorRuler.settings.set('enabled', CursorRuler.enabled)
sublime.save_settings('CursorRuler.sublime-settings')


# ------------------------------------------------------------------------------
Expand Down

0 comments on commit 287ab0b

Please sign in to comment.