~xenrox/srht-patches.nvim

neovim plugin for interacting with sourcehut patches
Look at Cc header as well
README: Update git send-email support
Highlight discouraged subject line as an error

refs

master
browse  log 

clone

read-only
https://git.xenrox.net/~xenrox/srht-patches.nvim
read/write
git@git.xenrox.net:~xenrox/srht-patches.nvim

You can also use your local clone with git send-email.

#srht-patches.nvim

builds.sr.ht status

srht-patches.nvim is a plugin for neovim that helps with the handling of patches.

#Sending patches (via git send-email)

When sending a patch, this project will highlight subject lines, which do not contain the repository name, as an error.

#Received patches

srht-patches.nvim can set the status of patchsets. It currently supports "applied" (PatchApplied), "rejected" (PatchRejected) and "needs revision" (PatchNeedsRevision). You can either bind these commands to bindings or use the setup function to configure this plugin to ask for the status on save (auto_check). This can be further fine-tuned by setting a list of regexes (address_list) against which the To-header will be compared.

#Configuration

Use the setup function to configure this plugin.

require("srht-patches").setup({
  auto_check = true,
  address_list = { "~xenrox/.*@lists.xenrox.net" },
})