aboutsummaryrefslogtreecommitdiffstats
path: root/filters/test.sh
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2023-09-11 13:55:43 +0200
committerRobin Jarry <robin@jarry.cc>2023-09-19 16:49:59 +0200
commit20e425406541e3fc7c4decad3da9373d378c7164 (patch)
tree3d4853bc27f0a0d8bd34ff4245bace72586c5b9b /filters/test.sh
parent320aa2257f5b5f4ef516eccc3ab2bd49b79d0fdb (diff)
downloadaerc-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-xfilters/test.sh8
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