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

Startup is extremely slow in wsl2 environment

Open Moxie1337 opened this issue 2 years ago • 4 comments

Describe the bug

Hi, I'm trying to use markdown-preview on a wsl2 system (22.04.2 LTS)。but when i tap :MarkdownPrevire on vim, It takes about 20 seconds to display my markdown file on the browser, it makes me so frustrated.

To Reproduce Steps to reproduce the behavior:

  1. Go to xxx.md file
  2. tap on vim :MarkdownPreview
  3. it takes 20 seconds to display my markdown file

Desktop (please complete the following information):

  • OS: WSL2
  • vim version 8.2.213

My vimrc conf image

Moxie1337 avatar Nov 29 '23 14:11 Moxie1337

Getting this with NeoVim.

LeonardoMor avatar Jan 31 '24 00:01 LeonardoMor

Getting this with NeoVim.

No quite. There's an issue with WSL2 that causes it to not run any Windows applications including the browser. One way to fix it is to run wsl --shutdown and try again.

LeonardoMor avatar Feb 09 '24 04:02 LeonardoMor

I seem to have the same problem with neovim in wsl2.

JamesLYan avatar Feb 26 '24 04:02 JamesLYan

Same issue, I am using neovim in wsl2(ubuntu 20.04)

GyouzaRu avatar Apr 22 '24 03:04 GyouzaRu