Add addcustominfo command (#2012)

Co-authored-by: Joe Lim <50560759+joelim-work@users.noreply.github.com>
This commit is contained in:
CatsDeservePetsandJoe Lim authored and GitHub committed 2025-06-20 18:02:09 +10:00
1 parent ff0c7f1c96
commit 17971fd66e
9 files changed
+269 -14

No files matched your search

+3
View File
@@ -80,6 +80,7 @@ var (
"mark-remove",
"tag",
"tag-toggle",
"addcustominfo",
"tty-write",
"cmd-escape",
"cmd-complete",
@@ -342,6 +343,8 @@ func completeCmd(acc []rune) (matches []string, longestAcc []rune) {
case "map", "cmap":
matches, longest = matchCmd(f[2])
longestAcc = append(acc[:len(acc)-len([]rune(f[len(f)-1]))], longest...)
case "addcustominfo":
longestAcc = acc
default:
matches, longest = matchFile(f[len(f)-1])
longestAcc = append(acc[:len(acc)-len([]rune(f[len(f)-1]))], longest...)