an-sh / flow-minor-mode

Emacs minor mode for editing flowtype files.
BSD 3-Clause "New" or "Revised" License
47 stars 16 forks source link

Make flow-mode into flow-minor-mode #3

Closed antifuchs closed 7 years ago

antifuchs commented 7 years ago

I hope this will take care of #2 - I've renamed flow-mode to flow-minor-mode, adjusted the customization group name, and added a function flow-enable-automatically, which will enable flow-mode whenever visiting a file that has the // @flow comment declaration at the top.

Let me know if you want anything in this changed (you're also allowed to commit fixes yourself) - I'll be more than happy to fix this in order to have a flow minor-mode that I can just install from melpa (: