mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-28 09:18:53 +01:00
Describe filename ordering more accurately
This commit is contained in:
parent
83286975ff
commit
37fd050100
@ -95,11 +95,11 @@ like this:
|
|||||||
|
|
||||||
## Ordering
|
## Ordering
|
||||||
|
|
||||||
At compile time, all TOML files are processed in filesystem order. So
|
At compile time, all TOML files are processed in lexicographical filename order.
|
||||||
`00-foo.toml` takes precedence over `10-bar.toml`, which takes precedence over
|
So `00-foo.toml` takes precedence over `10-bar.toml`, which takes precedence
|
||||||
`20-baz.toml`, and so on. This may be occasionally useful for creating high/low
|
over `20-baz.toml`, and so on. This may be occasionally useful for creating
|
||||||
priority rules, such as in the aforementioned example of explicitly mapping
|
high/low priority rules, such as in the aforementioned example of explicitly
|
||||||
`*.conf` files to unknown.
|
mapping `*.conf` files to unknown.
|
||||||
|
|
||||||
Generally this should not be much of a concern, since rules should be written as
|
Generally this should not be much of a concern, since rules should be written as
|
||||||
specifically as possible for each application.
|
specifically as possible for each application.
|
||||||
|
Loading…
Reference in New Issue
Block a user