Skip to content

Commit

Permalink
Fix syntax error check
Browse files Browse the repository at this point in the history
  • Loading branch information
naomichi-y committed Feb 20, 2017
1 parent 6f0d61b commit b265e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpSyntaxChecker.py
Expand Up @@ -10,7 +10,7 @@ def on_post_save(self, view):
command_line = self.EXECUTE_COMMAND + " " + file_path
syntax = view.settings().get("syntax")

if syntax.find('PHP.tmLanguage') >= 0:
if syntax.find('PHP.tmLanguage') >= 0 or syntax.find('PHP.sublime-syntax') >= 0:
response = subprocess.Popen(
command_line,
shell=True,
Expand Down

0 comments on commit b265e06

Please sign in to comment.