https://github.com/wsdjeg/job.vim
https://github.com/wsdjeg/job.vim
spacevim
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/wsdjeg/job.vim
- Owner: wsdjeg
- Created: 2016-11-27T10:38:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-18T15:49:58.000Z (over 7 years ago)
- Last Synced: 2025-02-12T11:13:06.188Z (3 months ago)
- Topics: spacevim
- Language: Vim script
- Size: 1000 Bytes
- Stars: 97
- Watchers: 2
- Forks: 35
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# job.vim
An job api for vim and neovim
## usage
```vim
func! s:on_stdout(id, data, event) abortendf
func! s:on_stderr(id, data, event) abort
endf
func! s:on_exit(id, data, event) abort
endf
call job#start(argv,
\ 'on_stdout' : function('s:on_stdout'),
\ 'on_stderr' : function('s:on_stderr'),
\ 'on_exit' : function('s:on_exit'),
\ )
```