Added new directive to the list of directives for posterity.

This commit is contained in:
Jack Wright 2024-11-30 13:34:39 -08:00
parent 7eac0e11ae
commit 8b4aa590bb

View File

@ -30,6 +30,7 @@ let cobra_completer = {|spans|
let ShellCompDirectiveNoFileComp = %[3]d let ShellCompDirectiveNoFileComp = %[3]d
let ShellCompDirectiveFilterFileExt = %[4]d let ShellCompDirectiveFilterFileExt = %[4]d
let ShellCompDirectiveFilterDirs = %[5]d let ShellCompDirectiveFilterDirs = %[5]d
let ShellCompDirectiveKeepOrder = %[6]d
let cmd = $spans | first let cmd = $spans | first
let rest = $spans | skip let rest = $spans | skip
@ -109,7 +110,7 @@ let cobra_completer = {|spans|
} }
} }
`, ShellCompDirectiveError, ShellCompDirectiveNoSpace, ShellCompDirectiveNoFileComp, `, ShellCompDirectiveError, ShellCompDirectiveNoSpace, ShellCompDirectiveNoFileComp,
ShellCompDirectiveFilterFileExt, ShellCompDirectiveFilterDirs)) ShellCompDirectiveFilterFileExt, ShellCompDirectiveFilterDirs, ShellCompDirectiveKeepOrder))
_, err := buf.WriteTo(w) _, err := buf.WriteTo(w)
return err return err