Improve completion Now will only show items which match the already entered input.
1 files changed, 9 insertions(+), 2 deletions(-) M lua/srht-patches/init.lua
M lua/srht-patches/init.lua => lua/srht-patches/init.lua +9 -2
@@ 79,8 79,15 @@ function Patch.setup(opts) require("srht-patches.config").setup(opts) end function _G.complete_srht_patches_status(_, _, _) return { "applied", "rejected", "needs_revision" } function _G.complete_srht_patches_status(lead, _, _) local comp_list = vim.tbl_filter(function(name) return vim.startswith(name, lead) end, { "applied", "rejected", "needs_revision", }) return comp_list end function Patch.auto_check()