diff options
author | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2023-11-05 01:41:39 +0800 |
---|---|---|
committer | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2023-12-11 10:21:05 +0800 |
commit | cfd622d6e1c56ae19954000bbb6e0a88ee6118eb (patch) | |
tree | 1433b8bbf66a8c165558ff077190ce8fc7cd2643 /CHANGELOG.md | |
parent | 1c7c9a6b6dba61c1e655e9f5d293edba2b0aa3d2 (diff) |
Migrate `SyntaxMapping` impl to new system
Most existing builtins are removed but not yet ported, so the test
`user_can_override_builtin_mappings` should fail. It should pass once the old
rules have been ported.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9651d09c..2972cdce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,8 @@ - Update Arch Linux package URL in README files #2779 (@brunobell) - Update and improve `zsh` completion, see #2772 (@okapia) - More extensible syntax mapping mechanism #2755 (@cyqsimon) + - [BREAKING] Precedence order of user-defined syntax mappings (using `-m/--map-syntax`) has been reversed + - `-m '*.foo:alpha' -m '*.foo:bravo'` now maps `bar.foo` to `alpha` ## Syntaxes @@ -23,6 +25,10 @@ ## `bat` as a library +- Changes to `syntax_mapping::SyntaxMapping` #2755 (@cyqsimon) + - `SyntaxMapping::get_syntax_for` is now correctly public + - [BREAKING] `SyntaxMapping::{empty,builtin}` are removed; use `SyntaxMapping::new` instead + - [BREAKING] `SyntaxMapping::mappings` is replaced by `SyntaxMapping::{builtin,custom,all}_mappings` # v0.24.0 |