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 (:
I hope this will take care of #2 - I've renamed
flow-mode
toflow-minor-mode
, adjusted the customization group name, and added a functionflow-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 (: