iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.36k stars 268 forks source link

fix: program location in wsl (#309) #636

Open wzf03 opened 5 months ago

wzf03 commented 5 months ago

The absolute path of cmd.exe is a more stable choice in wsl.

Because some reasons like https://github.com/zdharma-continuum/fast-syntax-highlighting/issues/13, the Windows' PATH may not be totally add to wsl's PATH. But the absolute path of cmd.exe is often usable.