You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some match/rewrite pairs only work well when specific matcher (language) is used.
Currently, the TOML config file does not allow setting matcher for pattern and it must be given on command line.
Reproducing
It makes re-using config files harder, as the required matcher parameter must be documented in the file, user must remember to check the file for correct parameters and use them.
Having to give -matcher flag on CLI forces the same matcher for all patterns in single TOML file, forcing user to split it if different matchers are needed for different patterns.
Expected behavior
Support for matcher field in TOML config file patterns
Additional context
There are other flags that may be required for pattern in TOML file to work, like the -omega flag.
The text was updated successfully, but these errors were encountered:
Describe the bug
Some match/rewrite pairs only work well when specific matcher (language) is used.
Currently, the TOML config file does not allow setting matcher for pattern and it must be given on command line.
Reproducing
It makes re-using config files harder, as the required matcher parameter must be documented in the file, user must remember to check the file for correct parameters and use them.
Having to give
-matcher
flag on CLI forces the same matcher for all patterns in single TOML file, forcing user to split it if different matchers are needed for different patterns.Expected behavior
Support for
matcher
field in TOML config file patternsAdditional context
There are other flags that may be required for pattern in TOML file to work, like the
-omega
flag.The text was updated successfully, but these errors were encountered: