Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Support MagicPython grammar.
Browse files Browse the repository at this point in the history
  • Loading branch information
lexicalunit committed Feb 16, 2016
1 parent d290a8a commit 02e36d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python-isort.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class PythonIsort
editor = atom.workspace.getActiveEditor()
if not editor?
return false
return editor.getGrammar().name == 'Python'
return editor.getGrammar().scopeName == 'source.python'

removeStatusbarItem: =>
@statusBarTile?.destroy()
Expand Down

0 comments on commit 02e36d0

Please sign in to comment.