~xenrox/srht-patches.nvim

5d6432f36fcf55d551bcf493c78137746695b348 — Thorben Günther 2 years ago 11b1c52
Fix auto_check being called on non patch emails
1 files changed, 4 insertions(+), 0 deletions(-)

M lua/srht-patches/init.lua
M lua/srht-patches/init.lua => lua/srht-patches/init.lua +4 -0
@@ 73,6 73,10 @@ function Patch.auto_check()
    return
  end

  if not check_patch() then
    return
  end

  local choice = vim.fn.input("Update patch status: ", "", "customlist,v:lua.complete_srht_patches_status")
  if choice == "applied" then
    set_header("APPLIED")