mirror of
https://git.aramjonghu.dev/AramJonghu/nvim.git
synced 2026-09-06 09:23:31 +02:00
feat(octo): gh cli plugin (needs config update)
This commit is contained in:
@@ -1,4 +1,53 @@
|
|||||||
return {
|
return {
|
||||||
|
{
|
||||||
|
"pwntester/octo.nvim",
|
||||||
|
cmd = "Octo",
|
||||||
|
config = function() require("octo").setup() end,
|
||||||
|
opts = {
|
||||||
|
-- or "fzf-lua" or "snacks" or "default"
|
||||||
|
picker = "telescope",
|
||||||
|
-- bare Octo command opens picker of commands
|
||||||
|
enable_builtin = true,
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
"<leader>oi",
|
||||||
|
"<CMD>Octo issue list<CR>",
|
||||||
|
desc = "List GitHub Issues",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>op",
|
||||||
|
"<CMD>Octo pr list<CR>",
|
||||||
|
desc = "List GitHub PullRequests",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>od",
|
||||||
|
"<CMD>Octo discussion list<CR>",
|
||||||
|
desc = "List GitHub Discussions",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>on",
|
||||||
|
"<CMD>Octo notification list<CR>",
|
||||||
|
desc = "List GitHub Notifications",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"<leader>os",
|
||||||
|
function()
|
||||||
|
require("octo.utils").create_base_search_command {
|
||||||
|
include_current_repo = true,
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
desc = "Search GitHub",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
dependencies = {
|
||||||
|
"nvim-lua/plenary.nvim",
|
||||||
|
"nvim-telescope/telescope.nvim",
|
||||||
|
-- OR "ibhagwan/fzf-lua",
|
||||||
|
-- OR "folke/snacks.nvim",
|
||||||
|
"nvim-tree/nvim-web-devicons", -- optional if file_panel.icons is a function
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"MysticalDevil/inlay-hints.nvim",
|
"MysticalDevil/inlay-hints.nvim",
|
||||||
event = "LspAttach",
|
event = "LspAttach",
|
||||||
|
|||||||
Reference in New Issue
Block a user