Skip to content

Commit

Permalink
Make minor style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ruiokada committed Jan 11, 2024
1 parent 0004d3a commit cd77e40
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions atomic_soft_tab_nav.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def on_text_command(self, view, command_name, args):
"""
Handles the case when the cursor will enter a soft tab.
The author is unaware of how to cancel keyboard input
commands so here we programatically move the cursor to the
commands, so here we programatically move the cursor to the
next edge of soft tab the cursor will enter and then move the
cursor back/forward one character to "cancel" the original
left/right key input.
Expand Down Expand Up @@ -80,7 +80,7 @@ def on_text_command(self, view, command_name, args):
elif args.get('by') == 'lines' and self.plugin_settings.get('enable_line_nav'):
"""
Handles the case when the cursor moves onto a soft tab
from a line above or below. In this case we programatically
from a line above or below. In this case, we programatically
move the cursor to the next line and then replace the
original keyboard input with left/right keydown depending on
where the cursor is in the current soft tab block. This will
Expand Down Expand Up @@ -129,7 +129,6 @@ def on_text_command(self, view, command_name, args):


# Window Commands of Preferences

class AtomicSoftTabNavSetLineNavSettingsCommand(sublime_plugin.WindowCommand):
def run(self, **args):
if 'enable' in args:
Expand Down

0 comments on commit cd77e40

Please sign in to comment.