Open jj0b opened 2 years ago
I got the same issue.
me too
:call mkdp#util#install()
can resolve it, but I don't know why packer not run 'cd app && yarn'
@yaocccc I just tried :call mkdp#util#install()
but it just gave an error message that markdown preview couldn't be installed. The thing is that for me, it is already installed. Neovim will even show me the autocompletion of the commands, but :MarkdownPreview just doesn't seem to do anything.
cd to plugin dir, cd app && yarn
@yaocccc I do have a plugin
directory next to my init.lua
file and lua
directory, but I don't have an app
directory in there. Is that supposed to be created by packer
or are you talking about something/somewhere else?
@yaocccc I do have a
plugin
directory next to myinit.lua
file andlua
directory, but I don't have anapp
directory in there. Is that supposed to be created bypacker
or are you talking about something/somewhere else?
I mean
cd ~/.local/share/nvim/site/pack/packer/start/markdown-preview.nvim
cd app && yarn
Thanks @yaocccc! That worked. :)
Ye by the way there is no error message if yarn is not available.
Describe the bug
Fresh seemingly successful install with packer, the commands show up but
:MarkdownPreview
command does nothing.To Reproduce Steps to reproduce the behavior:
plugins.lua
file::PackerInstall
and note thatmarkdown-preview
has successfully installed.md
file:MarkdownPreview
command that you can tab complete it, ie this is showing thatmarkdown-preview
is indeed installedExpected behavior
I expect that when I execute
:MarkdownPreview
that a preview should open in my browser.Desktop (please complete the following information):