Skip to content

wsdjeg/job.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

job.nvim

job manager for neovim

Installation

using nvim-plug

require("plug").add({
	{
		"wsdjeg/job.nvim",
	},
})

Usage

local job = require('job')
local function on_exit(id, code, single)
    print('job exit code:' .. code .. ' single:' .. single)
end

function M.run(argv)
    local cmd = { 'echo', 'hello world' }
    job.start(cmd, { on_exit = on_exit })
end

Self-Promotion

Like this plugin? Star the repository on GitHub.

Love this plugin? Follow me on GitHub and Twitter.

About

job manager for neovim

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages