Neovim plugin for working with Github pull request comments
README.md

gh-pr-comments #

Simple neovim plugin for working with comments on your local branch and GitHub PR.

Requirements #

  • GITHUB_TOKEN environment variable
  • gh CLI

TODO: #

Development #

GitHub PR Comments Endpoint

Run tests #

Running tests requires either

to be installed[1].

You can then run:

luarocks test --local
# or
busted

Or if you want to run a single test file:

luarocks test spec/path_to_file.lua --local
# or
busted spec/path_to_file.lua

If you see an error like module 'busted.runner' not found:

eval $(luarocks path --no-bin)

For this to work you need to have Lua 5.1 set as your default version for luarocks. If that's not the case you can pass --lua-version 5.1 to all the luarocks commands above.


  1. The test suite assumes that nlua has been installed using luarocks into ~/.luarocks/bin/. ↩︎