Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denops_std/option/vim/mod.ts>shelltype

📚 Standard module for denops.vim
Go to Latest
variable shelltype
import { shelltype } from "https://deno.land/x/denops_std@v4.2.0/option/vim/mod.ts";

On the Amiga this option influences the way how the commands work which use a shell. 0 and 1: always use the shell 2 and 3: use the shell only to filter lines 4 and 5: use shell only for ':sh' command When not using the shell, the command is executed directly.

0 and 2: use "shell 'shellcmdflag' cmd" to start external commands 1 and 3: use "shell cmd" to start external commands

(default 0)

only for the Amiga

type

{ get(denops: Denops): Promise<number>; set(denops: Denops, value: number): Promise<void>; reset(denops: Denops): Promise<void>; getGlobal(denops: Denops): Promise<number>; setGlobal(denops: Denops, value: number): Promise<void>; resetGlobal(denops: Denops): Promise<void>; }