Skip to content
This repository was 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
lexicalunit committed Feb 16, 2016

Verified

This commit was signed with the committer’s verified signature.
osresearch Trammell Hudson
1 parent 83c7582 commit 5e713c8
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
@@ -9,7 +9,7 @@ class PythonIsort
editor = atom.workspace.getActiveTextEditor()
if not editor?
return false
return editor.getGrammar().name == 'Python'
return editor.getGrammar().scopeName == 'source.python'

removeStatusbarItem: =>
@statusBarTile?.destroy()

0 comments on commit 5e713c8

Please sign in to comment.