view ci/setup-xvfb.sh @ 29000:7d28903e80df v8.2.5022

patch 8.2.5022: 'completefunc'/'omnifunc' error does not end completion Commit: https://github.com/vim/vim/commit/9bcb9ca9c7dd1632385dc3351b5e019739368658 Author: LemonBoy <thatlemon@gmail.com> Date: Thu May 26 15:23:26 2022 +0100 patch 8.2.5022: 'completefunc'/'omnifunc' error does not end completion Problem: 'completefunc'/'omnifunc' error does not end completion. Solution: Check if there was an error or exception. (closes https://github.com/vim/vim/issues/10486, closes #4218)
author Bram Moolenaar <Bram@vim.org>
date Thu, 26 May 2022 16:30:02 +0200
parents 1984a3fcc953
children
line wrap: on
line source

#!/bin/bash
set -e

apt-get install -y xvfb

cat <<EOT >/etc/systemd/system/xvfb.service
[Unit]
Description=X Virtual Frame Buffer Service
After=network.target
[Service]
ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24
[Install]
WantedBy=multi-user.target
EOT

systemctl enable xvfb.service
systemctl start xvfb.service