File tree 1 file changed +11
-9
lines changed
1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -105,22 +105,19 @@ function! go#job#Options(args)
105
105
endfunction
106
106
107
107
function state .show_status (job, exit_status) dict
108
- if go#config#EchoCommandInfo () && self .for != ' _'
109
- let prefix = " "
110
- if self .statustype != ' '
111
- let prefix = ' [' . self .statustype . ' ] '
112
- endif
108
+ if self .statustype == ' '
109
+ return
110
+ endif
111
+
112
+ if go#config#EchoCommandInfo ()
113
+ let prefix = ' [' . self .statustype . ' ] '
113
114
if a: exit_status == 0
114
115
call go#util#EchoSuccess (prefix . " SUCCESS" )
115
116
else
116
117
call go#util#EchoError (prefix . " FAIL" )
117
118
endif
118
119
endif
119
120
120
- if self .statustype == ' '
121
- return
122
- endif
123
-
124
121
let status = {
125
122
\ ' desc' : ' last status' ,
126
123
\ ' type' : self .statustype,
@@ -146,6 +143,11 @@ function! go#job#Options(args)
146
143
endif
147
144
148
145
function ! s: start (args ) dict
146
+ if go#config#EchoCommandInfo ()
147
+ let prefix = ' [' . self .statustype . ' ] '
148
+ call go#util#EchoSuccess (prefix . " dispatched" )
149
+ endif
150
+
149
151
if self .statustype != ' '
150
152
let status = {
151
153
\ ' desc' : ' current status' ,
You can’t perform that action at this time.
0 commit comments