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

Add support for checking folders #5

Closed
smjonas opened this issue May 11, 2023 · 1 comment · Fixed by #6
Closed

Add support for checking folders #5

smjonas opened this issue May 11, 2023 · 1 comment · Fixed by #6

Comments

@smjonas
Copy link

smjonas commented May 11, 2023

Thanks for this useful project! What do you think about adding support for folders when using the nerdfix check / nerdfix fix commands in which case the command would be applied to all the files in the directory recursively? This would allow something like nerdfix check ~/.local/share/nvim to check all Nvim configuration files.

@smjonas smjonas changed the title Support folders Add support for checking folders May 11, 2023
loichyan added a commit that referenced this issue May 12, 2023
@loichyan
Copy link
Owner

I added --recursive in #6, but it's recommended to use nerdfix check $(fd -t f . ~/.local/share/nvim) to exclude some hidden directories (like .git, which contains many binary files and causes many non-UTF-8 errors).

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

Successfully merging a pull request may close this issue.

2 participants