mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
17 lines
395 B
Bash
Executable File
17 lines
395 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
vim --clean -N -u <(echo "
|
|
let &rtp='$PWD,'.&rtp
|
|
let g:polyglot_test = 1
|
|
source scripts/test_extensions.vim
|
|
\"source scripts/test_filetypes.vim
|
|
qa!
|
|
")
|
|
|
|
if ! expect -c 'set timeout 1' -c 'spawn vim -N --clean -c "set nomore | :helptags ./doc | q"' -c 'expect "ENTER" { exit 1 }' > /dev/null; then
|
|
echo "Please ensure ':helptags ./doc' works properly"
|
|
exit 1
|
|
fi
|