nvim: fix pkgdev commands
This commit is contained in:
parent
9cf7c88e93
commit
996b13e954
|
@ -1,2 +1,9 @@
|
|||
vim.api.nvim_create_user_command('PkgCommit',
|
||||
':terminal pkgdev commit --signoff --edit', {})
|
||||
vim.api.nvim_create_user_command('PkgCommit', function()
|
||||
vim.cmd(string.format('vsplit | lcd %s | ' ..
|
||||
'terminal pkgdev --verbose commit --signoff --edit',
|
||||
vim.fn.expand('%:p:h')))
|
||||
end, {})
|
||||
vim.api.nvim_create_user_command('PkgManifest', function()
|
||||
vim.cmd(string.format('vsplit | lcd %s | ' ..
|
||||
'terminal pkgdev --verbose manifest', vim.fn.expand('%:p:h')))
|
||||
end, {})
|
||||
|
|
Loading…
Reference in New Issue
Block a user