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

根据前端项目中的配置文件自动选择 formatter #34

Open
rawlencecn opened this issue Sep 24, 2024 · 2 comments
Open

根据前端项目中的配置文件自动选择 formatter #34

rawlencecn opened this issue Sep 24, 2024 · 2 comments

Comments

@rawlencecn
Copy link

背景是不同的前端项目使用了不同的格式化工具,如 prettier,biome 等。能否根据项目根目录中的配置文件存在情况,如 prettierrc,biome.json,动态选择工具,而不是写死或同时生效

@nshen
Copy link
Owner

nshen commented Dec 28, 2024

这个可能要检查项目目录下的配置文件吧,好像有点复杂, 有没有大佬来开发个发个PR呀

@Blithe-Chiang
Copy link

我也有碰到这个问题,但是我也没有解决(我太菜了),发现下面这个帖子可能有帮助吧。

https://www.reddit.com/r/neovim/comments/1h8nb26/project_specific_configurations_in_lazyvim_with/

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

3 participants