From 520ef43b93cb359f1e39608212b5ef325c33c978 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorben=20G=C3=BCnther?= Date: Mon, 25 Oct 2021 14:02:43 +0200 Subject: [PATCH] README: Update git send-email support --- README.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d4c8b83..5a5f09c 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,21 @@ [![builds.sr.ht status](https://builds.xenrox.net/~xenrox/srht-patches.nvim/commits/.build.yml.svg)](https://builds.xenrox.net/~xenrox/srht-patches.nvim/commits/.build.yml?) -srht-patches.nvim is a plugin for neovim that helps to set the status of patchsets. +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 +### Configuration Use the setup function to configure this plugin. -- 2.44.0