Created
September 21, 2016 20:45
-
-
Save fatih/92177876c3ea1bea124766311286b9d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func! CloseHandler(channel) | |
while ch_status(a:channel) == 'buffered' | |
echomsg ch_read(a:channel) | |
endwhile | |
endfunc | |
let job = job_start(['go', 'build'], {'close_cb': 'CloseHandler'}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
func main() { | |
a | |
b | |
c | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
channel activity log.