Skip to main content
Module

x/ddc_vim/deps.ts>op.shellslash

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

When set, a forward slash is used when expanding file names. This is useful when a Unix-like shell is used instead of cmd.exe, pwsh.exe, or powershell.exe. Backward slashes can still be typed, but they are changed to forward slashes by Vim. Note that setting or resetting this option has no effect for some existing file names, thus this option needs to be set before opening any file for best results. This might change in the future. 'shellslash' only works when a backslash can be used as a path separator. To test if this is so use:

if exists('+shellslash')

Also see 'completeslash'.

(default off)

only for MS-Windows

type

GlobalOption<boolean>