diff --git a/src/jsf_activation.py b/src/jsf_activation.py index 799516c..4940251 100644 --- a/src/jsf_activation.py +++ b/src/jsf_activation.py @@ -12,4 +12,4 @@ def is_js_buffer(view): if(syntaxPath != None): syntax = os.path.splitext(syntaxPath)[0].split('/')[-1].lower() - return ext in ['js', 'json'] or "javascript" in syntax or "json" in syntax \ No newline at end of file + return (ext in ['js', 'json'] or "javascript" in syntax or "json" in syntax) and "jsx" not in ext \ No newline at end of file