diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-28 16:36:39 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-28 16:36:39 +0200 |
commit | ac3150d385e6e3f3fe76642aac3cda954d30583f (patch) | |
tree | 1ef511ccde68ed948d811eb04a69303d1ccea50c /runtime/doc/options.txt | |
parent | bca9c301936c9ba4ee67528f81393debf83844b9 (diff) | |
download | vim-git-ac3150d385e6e3f3fe76642aac3cda954d30583f.tar.gz |
patch 8.1.1769: 'shellslash' is also used for completionv8.1.1769
Problem: 'shellslash' is also used for completion.
Solution: Add the 'completeslash' option. (Yasuhiro Matsumoto, closes #3612)
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r-- | runtime/doc/options.txt | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 2583780bc..0d5586357 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1874,6 +1874,21 @@ A jump table for the options with a short description can be found at |Q_op|. This option cannot be set from a |modeline| or in the |sandbox|, for security reasons. + *'completeslash'* *'csl'* +'completeslash' 'csl' string (default: "") + local to buffer + {not in Vi} {only for MS-Windows} + 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 Windows. + - When this option is set to "backslash", backslash is used. This is + useful when editing a batch file with 'shellslash' set on 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. + *'completeopt'* *'cot'* 'completeopt' 'cot' string (default: "menu,preview") global @@ -6521,7 +6536,8 @@ A jump table for the options with a short description can be found at |Q_op|. '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'. + *'shelltemp'* *'stmp'* *'noshelltemp'* *'nostmp'* 'shelltemp' 'stmp' boolean (Vi default off, Vim default on) global |