Commit Graph

2976 Commits (f8c5429a6c5377d854908a542907a1a8197b91ec)
 

Author SHA1 Message Date
cyqsimon 8a08025091
Disable `builtin_mappings_are_lazily_evaluated` for ARM builds 10 months ago
cyqsimon 586c804b1e
Add test: `builtin_mappings_are_lazily_evaluated` 10 months ago
cyqsimon e30161ac3c
Add test: `builtin_mappings_matcher_only_compile_once` 10 months ago
cyqsimon 3865908439
Add test: `custom_mappings_precedence` 10 months ago
cyqsimon 9474b4cf8b
Rename & sort syntax mapping tests 10 months ago
cyqsimon b48bda21a3
Add test: `all_fixed_builtin_mappings_can_compile` 10 months ago
cyqsimon daf33709a0
Additional sanity check for matcher parser 10 months ago
cyqsimon 36073a3d95
Document another rule ignore condition 10 months ago
cyqsimon 12fa2cb1eb
`-` is not a legal character in variable name 10 months ago
cyqsimon 1f10d846a3
Fix tests
1. for override test, test for something in `common`
2. move git mappings to `common`
10 months ago
cyqsimon 22531eab90
Port all mappings to new system 10 months ago
cyqsimon 0c1b80faab
Impl per-target syntax mappings 10 months ago
cyqsimon 2c9bf229e1
Add doc comment for `BUILTIN_MAPPINGS` 10 months ago
cyqsimon 822e81bb24
Suppress clippy warning for `MappingTarget` in build script 10 months ago
cyqsimon ad628c0471
Fix iterator lifetime incompatibility 10 months ago
cyqsimon f483d2df42
Lazily compile `GlobMatcher`s 10 months ago
cyqsimon 4ad3002543
`s/Lazy<GlobMatcher>/Lazy<Option<GlobMatcher>>/` 10 months ago
cyqsimon cfd622d6e1
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.
10 months ago
cyqsimon 1c7c9a6b6d
Split `syntax_mapping/builtin.rs` 10 months ago
cyqsimon 0c93ca80f4
Guard against duplicate matchers in build script 10 months ago
cyqsimon de6d418d42
Remove `BuiltinMatcher` enum
Explanation added as comments in code
Using plain `Lazy<Option<GlobMatcher>>` is just better
10 months ago
cyqsimon c016b462c0
`STATIC_RULES` => `BUILTIN_MAPPINGS` 10 months ago
cyqsimon 7e1fbcfe95
Fix visibility for `SyntaxMapping::get_syntax_for`
This change was made in 31fb708, but then was reverted (I assume incorrectly)
in 6246485.
10 months ago
cyqsimon 4815b6155e
Write changelog 10 months ago
cyqsimon 075b5b288a
Matcher parser errors when empty 10 months ago
cyqsimon 7cfd1e0d78
Rerun build script only when necessary 10 months ago
cyqsimon 9f7d70f642
Use regex for matcher parsing
- Somewhat better maintainability I think
10 months ago
cyqsimon 0fea82cff9
Minor improvement of variable naming accuracy 10 months ago
cyqsimon 64840fbbae
`join_segments` -> `build_glob_string`
- this is a more descriptive name
10 months ago
cyqsimon 827b3eca2f
Add unset `*.conf` example 10 months ago
cyqsimon 9478d2dfe8
Isolate variables at compile time 10 months ago
cyqsimon d24501ab5e
`include!` generated mappings in source 10 months ago
cyqsimon 9f4259721a
Fix codegen type declaration 10 months ago
cyqsimon 77e491161c
Ensure lexicographical ordering 10 months ago
cyqsimon 97780f987e
`MappingDefModel::into_mapping_list` returns `MappingList` 10 months ago
cyqsimon d1bc0ef0d4
Build script codegen initial impl 10 months ago
cyqsimon 52f94b4623
Clarify syntax selection algorithm behaviour 10 months ago
cyqsimon 37fd050100
Describe filename ordering more accurately 10 months ago
cyqsimon 83286975ff
Add ordering prefix to git-config example 10 months ago
cyqsimon f705fcb984
Add global git-config example 10 months ago
cyqsimon 9ca1f20f43
Add specification draft 10 months ago
Oliver looney 6ad800e43a
tidied commits 10 months ago
Oliver looney 069318b139
fixed formatting of terminal title 10 months ago
Oliver looney b9b554248d
successfully setting the terminal title to bat's input's names 10 months ago
Oliver looney 4863d428dd
title is being reset on quit, so no need to restore terminal title 10 months ago
Oliver looney 2e103ee6b3
able to set terminal title to hardcoded value 10 months ago
Lena 28990bc451
fix: display color when NO_COLOR is an empty string (#2767) 10 months ago
cyqsimon 748e2a681f Add `columns=3` to repology badge 10 months ago
Broono Lu bfa0b5241f
Update Arch Linux package URL in README files (#2779) 10 months ago
Oliver looney 4af4bfc0f1 fixed syntax typo in russian readme 10 months ago