"removing extra lines/whitespace"

This commit is contained in:
Jack Wright 2022-12-23 20:30:18 -08:00
parent 3b016843b9
commit 4c4bde6586

View file

@ -40,7 +40,6 @@ let cobra_completer = {|spans|
let ShellCompDirectiveNoFileComp = %[4]d
let ShellCompDirectiveFilterFileExt = %[5]d
let ShellCompDirectiveFilterDirs = %[6]d
let last_span = ($spans | last | str trim)
def exec_complete [
@ -51,7 +50,6 @@ let cobra_completer = {|spans|
last_span: ($spans | last | str trim),
spans: $spans
}
# If there is an equals in the last span
# parse the span into two
let params = if $last_span =~ '=' {
@ -159,12 +157,6 @@ let cobra_completer = {|spans|
null
}
}
`, name, ShellCompDirectiveError, ShellCompDirectiveNoSpace, ShellCompDirectiveNoFileComp,
ShellCompDirectiveFilterFileExt, ShellCompDirectiveFilterDirs))