question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NO matching autocommands: User NvimMkdpRpcExit

See original GitHub issue

Describe the bug When I try to run :MarkdownPreview from the command line in a README.md file, instead of getting the file produced, I get the error message

No matching autocommands: User NvimMkdpRpcExit

To Reproduce Steps to reproduce the behavior:

  1. Follwing the README.md I had added to .vimrc
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
  1. The run :PlugInstall
  2. open a README.md
  3. Run :MarkdownPreview

Expected behavior In the past I would expect to see a web page open with the HTML displayed

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS Monterey 12.1
  • Machine; Apple MacBook Pro M1 Max

Log:

Not sure where is the log file?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
Dudemulletcommented, Apr 15, 2022

Can confirm suggestion from @bartj3 link did it form with one caveat.

I’m on an M1 mac so yarn install inside the plugin directory was failing via node-gyp when installing fsevents. The thing is that fsevents already has an M1 ready version. so just do:

-yarn add fsevents (version 2.2.2 and up support M1 Macs)

  • yarn install
  • restart vim
  • do :MarkdownPreview inside a .md file
1reaction
bartj3commented, Feb 21, 2022

Disregard that, I’m still not sure what the binary is for, but the suggestion at https://github.com/iamcco/markdown-preview.nvim/issues/319#issuecomment-870231018 to just yarn install did the trick for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No matching autocommands · Issue #43 - GitHub
I'm using pathogen and only run :call mkdp#util#install() in to vim, this command download support for your SO, later restard and open vim ......
Read more >
Error in Vim with autocmd: No matching autocommands
I'm using the Vim plugin clang_complete and I want to update the compilation errors in the QuickFix window whenever I save the file....
Read more >
Job still running : r/neovim - Reddit
Sometimes when doing :wqa I get the error. E948: Job still running E676: No matching autocommands for acwrite buffer.
Read more >
SpaceVim/cn - Gitter
Join over 1.5M+ people; Join over 100K+ communities; Free without limits; Create your own community ... 在md文档下,用space l p,提示no matching autocommand.
Read more >
VimPlug: Unknown function: term_start - Issues Antenna
Describe the bug I recently needed markdown preview, I noticed it threw an error: No matching autocommands: User NvimMkdpRpcExit So I ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found