Skip to content

Commit

Permalink
Skip whitespace by default
Browse files Browse the repository at this point in the history
  • Loading branch information
FichteFoll committed Mar 18, 2018
1 parent a01e7d9 commit 790b700
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Package/PackageDev.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
// "DRAW_NO_OUTLINE", "DRAW_SOLID_UNDERLINE", "DRAW_STIPPLED_UNDERLINE",
// "DRAW_SQUIGGLY_UNDERLINE", "HIDDEN", "PERSISTENT"
"syntax_test.highlight_styles": ["DRAW_NO_FILL"],

// Whether to skip whitespace after the previous line's test assertions when
// pressing the Tab key on a new syntax test line
"syntax_test.skip_whitespace": false,
"syntax_test.skip_whitespace": true,
}
2 changes: 1 addition & 1 deletion plugins_/syntaxtest_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def run(self, edit):
# find the last test assertion column on the previous line
details = listener.get_details_of_test_assertion_line(details.line_region.begin() - 1)
next_col = None
skip_whitespace = get_setting('syntax_test.skip_whitespace', False)
skip_whitespace = get_setting('syntax_test.skip_whitespace', True)
if details.assertion_colrange:
next_col = details.assertion_colrange[1]
else:
Expand Down

0 comments on commit 790b700

Please sign in to comment.