Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddc_vim/deps.ts>op.shellpipe

Dark deno-powered completion framework for neovim/Vim
Go to Latest
variable op.shellpipe
import { op } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { shellpipe } = op;

String to be used to put the output of the ":make" command in the error file. See also :make_makeprg. See option-backslash about including spaces and backslashes. The name of the temporary file can be represented by "%s" if necessary (the file name is appended automatically if no %s appears in the value of this option). For the Amiga the default is ">". For MS-Windows using powershell the default is "2>&1 | Out-File -Encoding default", otherwise the default is ">%s 2>&1". The output is directly saved in a file and not echoed to the screen. For Unix the default is "| tee". The stdout of the compiler is saved in a file and echoed to the screen. If the 'shell' option is "csh" or "tcsh" after initializations, the default becomes "|& tee". If the 'shell' option is "sh", "ksh", "mksh", "pdksh", "zsh", "zsh-beta", "bash", "fish", "ash" or "dash" the default becomes "2>&1| tee". This means that stderr is also included. Before using the 'shell' option a path is removed, thus "/bin/sh" uses "sh". For Unix and MS-Windows, when the 'shell' option is "pwsh" the default becomes ">%s 2>&1" and the output is not echoed to the screen. The initialization of this option is done after reading the ".vimrc" and the other initializations, so that when the 'shell' option is set there, the 'shellpipe' option changes automatically, unless it was explicitly set before. When 'shellpipe' is set to an empty string, no redirection of the ":make" output will be done. This is useful if you use a 'makeprg' that writes to 'makeef' by itself. If you want no piping, but do want to include the 'makeef', set 'shellpipe' to a single space. Don't forget to precede the space with a backslash: ":set sp=\ ". In the future pipes may be used for filtering and this option will become obsolete (at least for Unix). This option cannot be set from a modeline or in the sandbox, for security reasons.

(default ">", ">%s 2>&1", "| tee", "|& tee" "2>&1| tee", or "2>&1 | Out-File -Encoding default")

not available when compiled without the +quickfix feature

type

GlobalOption<string>