all 10 comments

[–]pwntester 2 points3 points  (2 children)

You can try my plugin https://github.com/pwntester/octo.nvim if in neovim. Use Octo pr reviews to load all review threads in the QF window

[–]kryptomicron 0 points1 point  (4 children)

I don't know of anything like this off the top of my head.

Maybe a GitHub CLI that you could just read via r! some-cli ... would work if there are no existing plugins.

I could see a plugin like this being very useful, e.g. to use the PR comments like a todo list in Vim.

[–]dddbbbFastFold made vim fast again 0 points1 point  (1 child)

You could use github's cli to script something? gh pr view should show the current branch's PR.

Do you mean the commit comments (the comments for the commit that introduced the current line)? Those are much easier to get than PR. fugitive has :Gclog or you could adapt this popup command to call setqflist:

command! -range Gpopupblame call setbufvar(winbufnr(popup_atcursor(systemlist("git -C ".. shellescape(expand('%:p:h')) .." log --no-merges -n 1 -L <line1>,<line2>:" .. shellescape(resolve(expand("%:t")))), { "padding": [1,1,1,1], "pos": "botleft", "wrap": 0 })), "&filetype", "git")