1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 01:25:00 +08:00

Updated vim plugins

This commit is contained in:
Amir Salihefendic
2018-12-17 12:28:27 +01:00
parent d2d303593e
commit e99e9e9c3e
137 changed files with 2129 additions and 846 deletions

View File

@ -2,6 +2,11 @@
" English.
" vint: -ProhibitSetNoCompatible
" don't spam the user when Vim is started in Vi compatibility mode
let s:cpo_save = &cpo
set cpo&vim
set nocompatible nomore shellslash encoding=utf-8 shortmess+=WIF
lang mess C
@ -31,7 +36,8 @@ source %
" cd into the folder of the test file.
let s:cd = exists('*haslocaldir') && haslocaldir() ? 'lcd ' : 'cd '
let s:testfile = expand('%:t')
execute s:cd . expand('%:p:h')
let s:dir = expand('%:p:h')
execute s:cd . s:dir
" Export root path to vim-go dir.
let g:vim_go_root = fnamemodify(getcwd(), ':p')
@ -64,6 +70,8 @@ for s:test in sort(s:tests)
" 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', '')
let s:done += 1
@ -108,4 +116,8 @@ silent! write
" Our work here is done.
qall!
" restore Vi compatibility settings
let &cpo = s:cpo_save
unlet s:cpo_save
" vim:ts=2:sts=2:sw=2:et