vimlab / mdown.vim

Live markdown preview within [neo]vim
14 stars 3 forks source link

E117: Unknown function: MdownPreview #2

Open alok opened 8 years ago

alok commented 8 years ago

I get the following error when I run :Mpreview

E117: Unknown function: MdownPreview

I installed both node-host and mdown, and I ran UpdateRemotePlugins.

I ran it on a markdown file called test.md which contained a single line with the word text in it.

alok commented 8 years ago

Looking at ~/.local/share/nvim/.rplugin.vim, I don't see mdown in it, which is confusing. Removing the file and re-running UpdateRemotePlugins didn't help.

mklabs commented 8 years ago

Hi @Alok Yeah, same on my setup.

I don't know if neovim changed their remote plugins architecture or if its a bug with the remote interface but I cannot achieve binding a simple node function anymore. Putting this on hold until I got more time to debug it and dig in the remote API again.

Thanks for the opening this issue.

Yuri-M-Dias commented 7 years ago

I've had the exact same problem. I couldn't figure out how to make the plugin work at all, I always ran into the Unkown function error. Running UpdateRemotePlugins and npm install -g neovim also didn't help.

JackLeo commented 7 years ago

Same. Running via dein

  call dein#add('neovim/node-host', {'build': 'npm install'})
  call dein#add('vimlab/mdown.vim', {'build': 'npm install'})
AndreiMotinga commented 6 years ago

having some issue, any update on this?

mklabs commented 6 years ago

Unfortunately, no. I need to get back into the code and see why. I think neovim updated his remote plugin mechanism quite a lot since I developed this plugin. I'll add a note in the readme. I also use onivim now (which uses neovim) so this plugin might become an onivim plugin.