diff options
author | Robin Jarry <robin@jarry.cc> | 2023-09-11 13:55:43 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-09-19 16:49:59 +0200 |
commit | 20e425406541e3fc7c4decad3da9373d378c7164 (patch) | |
tree | 3d4853bc27f0a0d8bd34ff4245bace72586c5b9b /filters/test.sh | |
parent | 320aa2257f5b5f4ef516eccc3ab2bd49b79d0fdb (diff) | |
download | aerc-20e425406541e3fc7c4decad3da9373d378c7164.tar.gz |
colorize: support trailing comments after values
Strip trailing comments after attribute values in stylesets. Update the
test styleset to check it works.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Inwit <inwit@sindominio.net>
Diffstat (limited to 'filters/test.sh')
-rwxr-xr-x | filters/test.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/filters/test.sh b/filters/test.sh index c0d9e6cd..16d1438c 100755 --- a/filters/test.sh +++ b/filters/test.sh @@ -12,15 +12,15 @@ cat >$style <<EOF url.fg = red [viewer] -url.underline = true -header.bold= true +url.underline = true # cxwlkj +header.bold= true # comment signature.dim=true diff_meta.bold =true diff_chunk.dim= true invalid . xxx = lkjfdslkjfdsqqqqqlkjdsq -diff_add.fg=2 +diff_add.fg= #00ff00 # comment # comment -diff_del.fg= 1 +diff_del.fg= 1 # comment2 quote_*.fg =6 quote_*.dim=true quote_1.dim=false |