From 8b4aa590bbde4d231f28e3d3fe45443c804b07bb Mon Sep 17 00:00:00 2001 From: Jack Wright Date: Sat, 30 Nov 2024 13:34:39 -0800 Subject: [PATCH] Added new directive to the list of directives for posterity. --- nushell_completions.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nushell_completions.go b/nushell_completions.go index 702f0b2..e908fc6 100644 --- a/nushell_completions.go +++ b/nushell_completions.go @@ -30,6 +30,7 @@ let cobra_completer = {|spans| let ShellCompDirectiveNoFileComp = %[3]d let ShellCompDirectiveFilterFileExt = %[4]d let ShellCompDirectiveFilterDirs = %[5]d + let ShellCompDirectiveKeepOrder = %[6]d let cmd = $spans | first let rest = $spans | skip @@ -109,7 +110,7 @@ let cobra_completer = {|spans| } } `, ShellCompDirectiveError, ShellCompDirectiveNoSpace, ShellCompDirectiveNoFileComp, - ShellCompDirectiveFilterFileExt, ShellCompDirectiveFilterDirs)) + ShellCompDirectiveFilterFileExt, ShellCompDirectiveFilterDirs, ShellCompDirectiveKeepOrder)) _, err := buf.WriteTo(w) return err