Skip to main content
Module

x/denops_std/option/mod.ts>completeslash

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

When this option is set it overrules 'shellslash' for completion:

  • When this option is set to "slash", a forward slash is used for path completion in insert mode. This is useful when editing HTML tag, or Makefile with 'noshellslash' on MS-Windows.
  • When this option is set to "backslash", backslash is used. This is useful when editing a batch file with 'shellslash' set on MS-Windows.
  • When this option is empty, same character is used as for 'shellslash'. For Insert mode completion the buffer-local value is used. For command line completion the global value is used.

(default: "")

only for MS-Windows

type

{ get(denops: Denops): Promise<string>; set(denops: Denops, value: string): Promise<void>; reset(denops: Denops): Promise<void>; getLocal(denops: Denops): Promise<string>; setLocal(denops: Denops, value: string): Promise<void>; resetLocal(denops: Denops): Promise<void>; }