E117: Unknown function: mkdp#util#install
See original GitHub issue安装插件的时候报错:
Post-update hook for markdown-preview.nvim ... Vim(return):E117: Unknown function: mkdp#util#install
vim是官网最新build的版本。https://github.com/vim/vim-win32-installer/releases 系统:win10
Issue Analytics
- State:
- Created 4 years ago
- Comments:22 (10 by maintainers)
Top Results From Across the Web
vimscript: calling function inside inoremap throws "unknown ...
I have same problem on my machine (Ubuntu 22.04, nvim v0.8.0-1210, coc.nvim). I “solved” this problem by removing this stuff:
Read more >markdown-preview.nvim - Bountysource
I wanted to extend my markdown preview with a simple javascript function. Adding tags does not work because javascript cannot be loaded after...
Read more >Vim: E117: Unknown function: styledcomplete#CompleteSC
Autocompletion, Language Support, and Styled Components. Lately, I was getting this error: E117: Unknown function: styledcomplete#CompleteSC.
Read more >async vim - CSDN
解决vim报错解决vim报错“E117: Unknown function: textobj#user#plugin” imaginemiracle:$ sudo apt-get install vim-textobj-user imaginemiracle:$ cd ~/.vim/plugged/ ...
Read more >[vim/vim] E117: Unknown function: dist#script#DetectFiletype ...
BufRead Autocommands for "*"..script /usr/share/vim/vim82/scripts.vim: line 30: E117: Unknown function: dist#script#DetectFiletype Press ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This may be caused by post-update hook bug of vim-plug, see https://github.com/junegunn/vim-plug/issues/964, after fixed, the following line
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': 'markdown' }
should work fine without adding
'for': 'vim-plug'
. Before fixed, I have been usingPlug 'iamcco/markdown-preview.nvim', { 'do': ':call mkdp#util#install()', 'for': 'markdown' }
which also is supposed by vim-plug to solve this problem.
Thanks! it’s works for me ~/.vimrc
then,
:call mkdp#util#install()