iamcco / iamcco/markdown-preview.nvim

Vim:E117: Unknown function: mkdp#util#install when install by lazy.nvim

Open
#690 22 comments 76 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
411
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
- I use lazy.nvim to install this plugin followed the instructions but it seems the build failed.
{
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = function() vim.fn["mkdp#util#install"]() end,
config = function() vim.g.mkdp_auto_close = 1 end,
},

- **So i fixed it by this [#691](https://github.com/iamcco/markdown-preview.nvim/pull/691), is it the right way?**

**To Reproduce**
Steps to reproduce the behavior:
1. Remove the store of this plugin
2. Install it again
3. Wait to completed
4. See error

**Expected behavior**
Build successfully

**Screenshots**
![image](https://github.com/user-attachments/assets/c30d28f3-473d-4939-a8a3-7c535d6c96e4)

**Desktop (please complete the following information):**
- OS: Arch linux: 6.9.10-arch1-1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.