bram209 / leptosfmt

A formatter for the leptos view! macro
Apache License 2.0
271 stars 29 forks source link

nested directory #132

Closed tetuaoro closed 3 months ago

tetuaoro commented 3 months ago

Hi :+1: ,

https://github.com/bram209/leptosfmt/blob/c8b22bbeb67f17d3b78333566b366c528593c817/README.md?plain=1#L131

What's happened

When I run the command leptosfmt src/**/*.rs, it just apply on the src directory and first childs (1) directories but not on child of childs (1) directories.

--- src
    |
    --- *.rs # format
    --- components # src/components
        |
        --- *.rs # format
        |
        --- utils # src/components/utils
            |
            --- *.rs # not format

Expected

I expected to format all nested *.rs files with the arguments ./**/*.rs.

tetuaoro commented 3 months ago

It's ok, I understand how this works