annotate .cirrus.yml @ 34232:47385c831d92 v9.1.0061

patch 9.1.0061: UX of visual highlighting can be improved Commit: https://github.com/vim/vim/commit/e6d8b4662ddf9356da53f56e363b67b524fd8825 Author: Christian Brabandt <cb@256bit.org> Date: Sun Jan 28 23:33:29 2024 +0100 patch 9.1.0061: UX of visual highlighting can be improved Problem: UX of visual highlighting can be improved Solution: Improve readibility of visual highlighting, by setting better foreground and background colors The default visual highlighting currently is nice in that it overlays the actual syntax highlighting by using a separate distinct background color. However, this can cause hard to read text, because the contrast between the actual syntax element and the background color is way too low. That is an issue, that has been bothering colorschemes authors for quite some time so much, that they are defining the Visual highlighting group to use a separate foreground and background color, so that the syntax highlighting vanishes, but the text remains readable (ref: vim/colorschemes#250) So this is an attempt to perform the same fix for the default Visual highlighting and just use a default foreground and background color instead of using reverse. I also removed the hard-coded changes to the Visual highlighting in init_highlight. It's not quite clear to me, why those were there and not added directly to the highlighting_init_<dark|light> struct. closes: #13663 related: vim/colorschemes#250 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 28 Jan 2024 23:39:23 +0100
parents 4cffda5da6f4
children 956a5fa10aaa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33450
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
1 env:
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
2 CIRRUS_CLONE_DEPTH: 3
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
3 FEATURES: huge
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
4
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
5 freebsd_task:
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
6 name: FreeBSD
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
7 matrix:
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
8 - name: FreeBSD 14.0
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
9 freebsd_instance:
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
10 image_family: freebsd-14-0
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
11 timeout_in: 20m
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
12 install_script:
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
13 - pkg install -y gettext
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
14 build_script:
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
15 - NPROC=$(getconf _NPROCESSORS_ONLN)
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
16 - ./configure --with-features=${FEATURES}
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
17 - make -j${NPROC}
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
18 test_script:
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
19 - src/vim --version
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
20 # run tests as user "cirrus" instead of root
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
21 - pw useradd cirrus -m
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
22 - chown -R cirrus:cirrus .
4cffda5da6f4 patch 9.0.1979: Cirrus CI disabled
Christian Brabandt <cb@256bit.org>
parents: 33293
diff changeset
23 - sudo -u cirrus make test