An open API service indexing awesome lists of open source software.

https://github.com/mdb/telescope-pr-browser.nvim

Browse GitHub PRs from Neovim using telescope.
https://github.com/mdb/telescope-pr-browser.nvim

neovim neovim-plugin telescope-extension

Last synced: about 1 month ago
JSON representation

Browse GitHub PRs from Neovim using telescope.

Awesome Lists containing this project

README

          

[![CI/CD](https://github.com/mdb/telescope-pr-browser.nvim/actions/workflows/cicd.yaml/badge.svg)](https://github.com/mdb/telescope-pr-browser.nvim/actions/workflows/cicd.yaml)

> [!CAUTION]
> Early development

# telescope-pr-browser.nvim

A Neovim plugin for browsing GitHub pull requests using [telescope](https://github.com/nvim-telescope/telescope.nvim).

* `telescope-pr-browser.nvim` provides a `:Telescope telescope_pr_browser list`
command for browsing the current git repository's open PRs using [telescope](https://github.com/nvim-telescope/telescope.nvim).
* `Enter` on the selected PR to open the PR in your default web browser.

![demo](./demo.gif)

## Installation

`telescope-pr-browser.nvim` requires the [gh](https://cli.github.com/) CLI.

Example installation configuration using [lazy.nvim](https://github.com/folke/lazy.nvim):

```lua
return {
'mdb/telescope-pr-browser.nvim',
dependencies = {
'nvim-telescope/telescope.nvim',
},
keys = {
{
'pl',
':Telescope telescope_pr_browser list',
desc = '[P]R [L]list',
},
},
}
```

## Development

Development dependencies:

* luacheck

Run tests:

```
make
```