mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 17:03:39 +02:00
fix(octo): load octo on octo://*
events, so that those buffers work after session restore
This commit is contained in:
parent
86ba1bc62d
commit
e6443ad7dc
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@ return {
|
|||
{
|
||||
"pwntester/octo.nvim",
|
||||
cmd = "Octo",
|
||||
event = { { event = "BufReadCmd", pattern = "octo://*" } },
|
||||
init = function()
|
||||
vim.treesitter.language.register("markdown", "octo")
|
||||
end,
|
||||
|
@ -23,6 +24,7 @@ return {
|
|||
{ "<leader>gP", "<cmd>Octo pr search<CR>", desc = "Search PRs (Octo)" },
|
||||
{ "<leader>gr", "<cmd>Octo repo list<CR>", desc = "List Repos (Octo)" },
|
||||
{ "<leader>gS", "<cmd>Octo search<CR>", desc = "Search (Octo)" },
|
||||
|
||||
{ "<leader>a", "", desc = "+assignee (Otco)", ft = "octo" },
|
||||
{ "<leader>c", "", desc = "+comment/code (Otco)", ft = "octo" },
|
||||
{ "<leader>l", "", desc = "+label (Otco)", ft = "octo" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue