Open
Description
There appears to be no way to pass multiple values to a configuration parameter such as skip_macro_invocations
from the command-line:
$ rustfmt --config 'skip_macro_invocations=["foo","bar"]'
invalid key=val pair: `skip_macro_invocations=["foo"`
$ rustfmt '--config=skip_macro_invocations=["foo","bar"]'
invalid key=val pair: `skip_macro_invocations=["foo"`
I believe this is due to the immediate split of the argument done here:
Lines 572 to 577 in 21f353a
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
Prevent rustfmt from messing with verusfmt (#38)
ytmimi commentedon Mar 5, 2024
Thanks for the report. Going to link to the tracking issue for
skip_macro_invocations
#5346