File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3
3
" Maintainer: skywind3000 (at) gmail.com, 2016-2022
4
4
" Homepage: https://github.com/skywind3000/asyncrun.vim
5
5
"
6
- " Last Modified: 2022/10/12 00:27
6
+ " Last Modified: 2022/10/12 00:33
7
7
"
8
8
" Run shell command in background and output to quickfix:
9
9
" :AsyncRun[!] [options] {cmd} ...
@@ -865,10 +865,10 @@ function! s:AsyncRun_Job_Start(cmd)
865
865
if exists (' g:asyncrun_show_time' )
866
866
let t = g: asyncrun_show_time
867
867
let format = ' '
868
- if ( type (t ) == type (' ' )) && t != ' '
868
+ if type (t ) == type (' ' )
869
869
let format = t
870
- elseif ( type (t ) == type (0 )) && t != 0
871
- let format = ' %Y/%m/%d %T'
870
+ elseif type (t ) == type (0 )
871
+ let format = ( t != 0 )? ' %Y/%m/%d %T' : ' '
872
872
endif
873
873
if format != ' '
874
874
let t = strftime (format, s: async_start )
You can’t perform that action at this time.
0 commit comments