~xenrox/srht-patches.nvim

8423d8b3aeccc41a0a3251aaf2da8c0c4c0f2765 — Thorben Günther 2 years ago 2aedea0
Add commands for REJECTED and NEEDS_REVISION
2 files changed, 10 insertions(+), 0 deletions(-)

M lua/srht-patches/init.lua
M plugin/srht-patches.vim
M lua/srht-patches/init.lua => lua/srht-patches/init.lua +8 -0
@@ 38,4 38,12 @@ function Patch.applied()
  set_header("APPLIED")
end

function Patch.rejected()
  set_header("REJECTED")
end

function Patch.needs_revision()
  set_header("NEEDS_REVISION")
end

return Patch

M plugin/srht-patches.vim => plugin/srht-patches.vim +2 -0
@@ 1,1 1,3 @@
command! PatchApplied lua require'srht-patches'.applied()
command! PatchRejected lua require'srht-patches'.rejected()
command! PatchNeedsRevision lua require'srht-patches'.needs_revision()