Skip to content

Commit

Permalink
Syntax: Tone down warning about tabs to a status message
Browse files Browse the repository at this point in the history
In unknown situations, the check can be triggered more frequently and
become quite annoying. Additionally, it's not like we *must* play the
police here and enforce usage of the correct indentation settings when
tooling around syntax tests will break by itself already.

Closes #390
  • Loading branch information
FichteFoll committed Jan 28, 2024
1 parent 659c1b8 commit 6b582d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/syntaxtest_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ def __del__(self):
# or plugin was unloaded.
# Complain about the former, if we have a test file.
if self.header and not self.is_applicable(self.view.settings()):
sublime.error_message((
sublime.status_message((
"Syntax tests do not work properly with tabs as indentation."
"\n\nYou MUST use spaces!"
" You MUST use spaces!"
))

def on_modified_async(self):
Expand Down

0 comments on commit 6b582d5

Please sign in to comment.