1
0
mirror of https://github.com/amix/vimrc synced 2025-06-30 11:54:59 +08:00

Updated plugins

This commit is contained in:
Amir Salihefendic
2019-11-16 16:28:42 +01:00
parent 96e10ed101
commit 72bdaba47e
204 changed files with 5936 additions and 1666 deletions

View File

@ -13,7 +13,7 @@ cd "$vimgodir"
if [ -z "${1:-}" ]; then
echo "unknown version: '${1:-}'"
echo "First argument must be 'vim-7.4', 'vim-8.0', or 'nvim'."
echo "First argument must be 'vim-8.0' or 'nvim'."
exit 1
fi

View File

@ -15,16 +15,11 @@ cd "$vimgodir"
vim=${1:-}
case "$vim" in
"vim-7.4")
tag="v7.4.2009"
giturl="https://github.com/vim/vim"
;;
"vim-8.0")
# This follows the version in Arch Linux. Vim's master branch isn't always
# This follows the version in Ubuntu LTS. Vim's master branch isn't always
# stable, and we don't want to have the build fail because Vim introduced a
# bug.
tag="v8.0.1542"
tag="v8.0.1453"
giturl="https://github.com/vim/vim"
;;
@ -36,7 +31,7 @@ case "$vim" in
*)
echo "unknown version: '${1:-}'"
echo "First argument must be 'vim-7.4', 'vim-8.0', or 'nvim'."
echo "First argument must be 'vim-8.0' or 'nvim'."
exit 1
;;
esac

View File

@ -11,7 +11,7 @@ cd "$vimgodir"
#####################################
if [ -z "${1:-}" ]; then
echo "unknown version: '${1:-}'"
echo "First argument must be 'vim-7.4', 'vim-8.0', or 'nvim'."
echo "First argument must be 'vim-8.0' or 'nvim'."
exit 1
fi

View File

@ -17,7 +17,7 @@ shift $((OPTIND - 1))
if [ -z "${1:-}" ]; then
echo "unknown version: '${1:-}'"
echo "First argument must be 'vim-7.4', 'vim-8.0', or 'nvim'."
echo "First argument must be 'vim-8.0' or 'nvim'."
exit 1
fi

View File

@ -74,12 +74,16 @@ for s:test in sort(s:tests)
let v:errors += [v:exception]
endtry
let s:elapsed_time = substitute(reltimestr(reltime(s:started)), '^\s*\(.\{-}\)\s*$', '\1', '')
" Restore GOPATH after each test.
let $GOPATH = s:gopath
" Restore the working directory after each test.
execute s:cd . s:dir
let s:elapsed_time = substitute(reltimestr(reltime(s:started)), '^\s*\(.\{-}\)\s*$', '\1', '')
" exit gopls after each test
call go#lsp#Exit()
let s:done += 1
if len(v:errors) > 0

View File

@ -40,7 +40,7 @@ shift $((OPTIND - 1))
#####################################
if [ -z "${1:-}" ]; then
echo "unknown version: '${1:-}'"
echo "First argument must be 'vim-7.4', 'vim-8.0', or 'nvim'."
echo "First argument must be 'vim-8.0' or 'nvim'."
exit 1
fi