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

Updated plugins, also experimenting with a new font

The font is IBM Plex Mono: https://ibm.github.io/type/
This commit is contained in:
amix
2017-11-24 14:54:40 +01:00
parent 7fc202ec88
commit e9aac9794b
255 changed files with 2898 additions and 3752 deletions

View File

@ -10,12 +10,17 @@ function go#job#Spawn(args)
\ 'messages': [],
\ 'args': a:args.cmd,
\ 'bang': 0,
\ 'for': "_job",
\ }
if has_key(a:args, 'bang')
let cbs.bang = a:args.bang
endif
if has_key(a:args, 'for')
let cbs.for = a:args.for
endif
" add final callback to be called if async job is finished
" The signature should be in form: func(job, exit_status, messages)
if has_key(a:args, 'custom_cb')
@ -47,7 +52,7 @@ function go#job#Spawn(args)
call self.custom_cb(a:job, a:exitval, self.messages)
endif
let l:listtype = go#list#Type("quickfix")
let l:listtype = go#list#Type(self.for)
if a:exitval == 0
call go#list#Clean(l:listtype)
call go#list#Window(l:listtype)
@ -69,8 +74,7 @@ function go#job#Spawn(args)
if !len(errors)
" failed to parse errors, output the original content
call go#util#EchoError(join(self.messages, " "))
call go#util#EchoError(self.dir)
call go#util#EchoError(self.messages + [self.dir])
return
endif