I'm using neovim with vim-plug as my package manager. I successfully installed the plugin after adding the following in my config file:
Plug 'flowtype/vim-flow', {
\ 'autoload': {
\ 'filetypes': 'javascript'
\ },
\ 'build': {
\ 'mac': 'npm install -g flow-bin'
\ }}
let g:flow#flowpath = '$(npm bin)/flow'
However, flow is not running at all when after I save a file, and when I run the :FlowMake command I get the following error:
E402: Not an editor command: FlowMake
I'm kind of a vim noob so any help would be appreciated!