Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
/ Skye.vim Public archive

Plugin for displaying GitHub issues and (some details about) pull requests inside Vim.

License

Notifications You must be signed in to change notification settings

LunarWatcher/Skye.vim

Repository files navigation

Skye.vim

Connects to GitHub (pull requests for other commonly used VCS sites are welcome as long as there's an API) to display issues and comments in Vim.

See the documentation file for an extended intro, as well as the deets.

Issue creation and management may be implemented in the future, but the main goal at the moment is just to list and display.

Current status

Unmaintained; I have no practical reason for using this over just going to github

Requirements:

  • C++20 compiler
  • CMake
  • Python 3 with Conan (https://conan.io)
  • Modern Vim (8.2.2845+ guaranteed; this plugin uses Vim9, meaning there's limited version support as long as Vim9 is under active development). Neovim is not supported
  • Git in PATH or otherwise accessible from system()
  • A decent internet connection - support for awful internet connections relies on multithreading, which Vim doesn't support, and that I can't implement when dynamic libraries are unloaded after use (read: I will not fix issues triggered by bad internet connections. Bad here is generally defined as anything that takes ages to fetch data from the API)

Note: As I don't use Windows or Mac (and I can't be arsed to set up tests - testing networking is a pain), I have no idea whether or not this works on Mac or Windows. Support is guaranteed for desktop Linux, however, as long as it's a distro with support for modern compilers, Python 3, and pip.

The current requirement of requiring Git in PATH may or may not make it harder to use on Windows, which is yet another reason it may not work under Windows. If it fails and you'd like to see it work, submit a PR.

Installation

When you've fulfilled the requirements, it should be relatively straight-forward to install. The exact method depends on your plugin manager, but with vim-plug:

Plug 'LunarWatcher/skye.vim', { 'do': 'mkdir -p build && cd build && cmake .. && make -j 8' }

TODO before v1.0.0:

  • Issue lists
  • Show individual issues
  • Reformat the list to be compact (don't include a summary at all, for clarity)
  • More syntax highlighting on the list page
  • Filtering
  • Refreshing (keybind, may potentially just re-call SkyeList or SkyeShow)
  • Dealing with paging served by the API
  • Display pull requests (... and comments, but exclude changes because arsed to render that in Vim)
  • Rewrite API access to use multiprocess interop (+clientserver) over the garbage used here

Future ideas:

  • Issue editing and posting (full integration instead of read-only - we have the tokens for it already)

About

Plugin for displaying GitHub issues and (some details about) pull requests inside Vim.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published