Format with spaces instead of tabs

This commit is contained in:
Jack Wright 2024-11-30 13:32:05 -08:00
parent e7abbf39a3
commit 7eac0e11ae
1 changed files with 85 additions and 87 deletions

View File

@ -24,8 +24,6 @@ import (
func (c *Command) GenNushellCompletion(w io.Writer, includeDesc bool) error { func (c *Command) GenNushellCompletion(w io.Writer, includeDesc bool) error {
buf := new(bytes.Buffer) buf := new(bytes.Buffer)
WriteStringAndCheck(buf, fmt.Sprintf(` WriteStringAndCheck(buf, fmt.Sprintf(`
# An external completer that works with any cobra based
# command line application (e.g. kubectl, minikube)
let cobra_completer = {|spans| let cobra_completer = {|spans|
let ShellCompDirectiveError = %[1]d let ShellCompDirectiveError = %[1]d
let ShellCompDirectiveNoSpace = %[2]d let ShellCompDirectiveNoSpace = %[2]d