Closed ethanh6 closed 2 years ago
Fix it by manually installing with install.sh
$ cd ~/.local/share/nvim/site/pack/packer/start/markdown-preview.nvim/app/
$ ./install.sh
met the same problem, solve it with manually execute ./install.sh
thanks
my reinstallation will be solved later
An update to this issue.
I updated LunarVim today and on re-installing markdown-preview I see that it is installed to
~/.local/share/nvim/site/pack/packer/opt/markdown-preview.nvim
so is in opt rather than start:
~/.local/share/nvim/site/pack/packer/start
I entered .../opt/markdown-preview/app
and ran ./install.sh
but this did not work.
Instead this worked:
$ cd ~/.local/share/lunarvim/site/pack/packer/start/markdown-preview.nvim/app
$ ./install.sh
Fix it by manually installing with
install.sh
$ cd ~/.local/share/nvim/site/pack/packer/start/markdown-preview.nvim/app/ $ ./install.sh
⚠️ when use cmd
if u didn't use packer plug manager, modified the path and use
or use filter in vim
:filter markdown-preview scriptnames
and cut down useful part to use
for example i use lazyvim:
$ cd ~/.local/share/nvim/**lazy**/markdown-preview.nvim/app/
$ ./install.sh
Using install.sh
also solved it for me. How come this doesnt get triggered by default on installation? Should be noted, I use vim-plug
Describe the bug Installed with packer.nvim
But the
:MarkdownPreview
command is not respondingTo Reproduce Steps to reproduce the behavior:
:MarkdownPreview
, it does not respondExpected behavior A markdown preview page will popup in the browser.
Desktop (please complete the following information):