Open ghost opened 6 years ago
Hello.
May I suggest the line:
return editor.getGrammar().name.indexOf("Python",0) > 0
instead of.. https://github.com/markbaas/atom-python-autopep8/blob/master/lib/python-autopep8.coffee#L11
grammar = editor.getGrammar().name return grammar == 'Python' or grammar == 'MagicPython'
My aim is to provide for more Python derivatives. (I added the line on an older version to adapt to MagicPython).
MagicPython
Thank you for your consideration.
As a side note.. my version remains at 0.13 and does not update to 0.14.
Hello.
May I suggest the line:
instead of.. https://github.com/markbaas/atom-python-autopep8/blob/master/lib/python-autopep8.coffee#L11
My aim is to provide for more Python derivatives. (I added the line on an older version to adapt to
MagicPython
).Thank you for your consideration.