Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于MarkdownPreview插件的一些小问题 #33

Open
doing1024 opened this issue Aug 3, 2024 · 2 comments
Open

关于MarkdownPreview插件的一些小问题 #33

doing1024 opened this issue Aug 3, 2024 · 2 comments

Comments

@doing1024
Copy link

环境

neovim版本:V0.9.5
系统:deepin20社区版64位
终端:深度终端

情况

视频地址(由于网络问题,无法放github):https://easylink.cc/loz5s4

请大佬帮忙解决,万分感激!

@nshen
Copy link
Owner

nshen commented Aug 3, 2024

应该是 markdown-preview.nvim 插件安装后 npm 依赖没有安装成功,需要 nodejs 和能访问外网 npm 的网络环境,

可以试试重装插件,或重装插件的依赖

重装插件应该比较容易:

lua/insis/plugins/init.lua 里找到 markdown-preview 插件,注释掉,然后 :Lazy update,删除插件

然后再把注释打开,再 :Lazy update 重新安装,等他安装好会自动运行一个命令安装依赖


重装插件依赖:

:echo stdpath('data') 看插件安装目录,里边找到 lazy 下边的 markdown-preview 目录,到插件里app 目录下 npm install 装依赖试试

@doing1024
Copy link
Author

已解决,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants