-
Notifications
You must be signed in to change notification settings - Fork 194
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
null-ls.health检测报错,如何解决? #40
Comments
这是不同语言对应的格式化工具,根据需要安装对应的就好了,你现在有rustfmt就应该可以格式化rust代码了。 比如 stylelua 是格式化 lua 代码的,也可以去装一下 https://github.com/JohnnyMorganz/StyLua |
每个格式化工具都需要手动安装吗?能不能配置自动安装呢? https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins/formatting 目录中的这些lua文件,是否和/null-ls.nvim插件配置有所关联呢?就是说,能否通过这些lua文件,来配置实现自动安装格式化工具呢? |
应该还没有自动安装功能。那些lua文件只知道怎么调用对应的工具,需要手动安装后,在source里引用对应的lua文件。
|
并不是所有前端都用 eslint 和prettier,所以 可以不全局安装,checkhealth 应该只会检测是否全局安装,所以报错也应该没关系。 |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
The text was updated successfully, but these errors were encountered: