Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions plugins/syntaxtest_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,14 @@ def on_load(self, view):
test_header = get_syntax_test_tokens(view)
if not test_header:
return

# If the user navigates through syntax test files using Goto Anything,
# then the navigation is disrupted (because of the dialog) if the test
# files happens to use indentation. So, we just skip checking any files
# that are transiently opened by using Goto Anything.
if view.sheet().is_transient():
return

current_syntax = view.settings().get('syntax', None)
test_syntax = test_header.syntax_file

Expand Down