File: entry

package info (click to toggle)
vim-ale 4.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,764 kB
  • sloc: sh: 499; python: 311; perl: 31; makefile: 4; xml: 4; javascript: 1
file content (31 lines) | stat: -rwxr-xr-x 604 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash

# SPDX-License-Identifier: BSD-2-Clause
# Copyright © 2020 Nicholas Guriev <guriev-ns@ya.ru>

set -e -u

what=$(basename "$0")
where=$(dirname "$0")

case "${what}" in
  with-vim)
    executor='vim.basic -e'
    ;;
  with-gvim)
    executor='xvfb-run -a vim.gtk3 --nofork -g'
    ;;
  with-neovim)
    executor='nvim -es'
    ;;
  *)
    echo >&2 'What editor are you going to test? Invoke this script via' \
      'a corresponding symlink.'
    exit 127
    ;;
esac

BASH_XTRACEFD=1
export VADER_OUTPUT_FILE=/dev/stdout
set -x
$executor -u "${where}/vimrc" "+Vader! ${*:-test/**/*.vader}"