feat: add command system
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
local M = {}
|
||||
|
||||
local function chai_command()
|
||||
-- TODO: open main Chai buffer
|
||||
-- TODO: add Chai command system (so `:Chai current pr#18 close` closes PR number 18 on current repo)
|
||||
-- TODO: add smth like `:Chai https://git.kpgpmc.org/furkromek/chai.nvim/issues` opens issues on that repo
|
||||
print('TODO: open main Chai buffer')
|
||||
end
|
||||
|
||||
function M.setup()
|
||||
vim.api.nvim_create_user_command('Chai', chai_command, { desc = "Open Chai menu" })
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user