markdown-preview.nvim icon indicating copy to clipboard operation
markdown-preview.nvim copied to clipboard

Loading the plugin with packadd

Open carlotrimarchi opened this issue 5 years ago • 2 comments

Hello, I normally manage Vim plugins as Git submodules and then load them using packadd, like this:

packadd! terminus
packadd! corpus
packadd! vim-zsh

What I'm trying with markdown-preview is:

packadd! markdown-preview, { 'do': { -> mkdp#util#install() } }

Any way I can make it work this way?

Thank you!

carlotrimarchi avatar Dec 10 '20 17:12 carlotrimarchi

I tried to do this (trying to move towards the native plugin management of vim 8.2.0360), but nothing seems to happen.

boldandbusted avatar Dec 14 '20 22:12 boldandbusted

I don't use packadd so i don't know if it will call mkdp#util#install() after install with the packadd! markdown-preview, { 'do': { -> mkdp#util#install() } } config.

Other way you can run :call mkdp#util#install() after install the plugin.

iamcco avatar Jan 10 '21 13:01 iamcco