diff options
author | skippi <jbtcao@gmail.com> | 2020-10-18 21:36:30 -0500 |
---|---|---|
committer | skippi <jbtcao@gmail.com> | 2020-10-26 15:20:12 -0500 |
commit | 089f4f8e4a297aa8e7c689331ffd16ffe415120a (patch) | |
tree | 8fc9491acc11254133dfd2c539dd221954b5086d /runtime | |
parent | a22fe09b90a52f451d9fd8d3372b8c390dd1dc1a (diff) | |
download | rneovim-089f4f8e4a297aa8e7c689331ffd16ffe415120a.tar.gz rneovim-089f4f8e4a297aa8e7c689331ffd16ffe415120a.tar.bz2 rneovim-089f4f8e4a297aa8e7c689331ffd16ffe415120a.zip |
vim-patch:8.1.1769: 'shellslash' is also used for completion
Problem: 'shellslash' is also used for completion.
Solution: Add the 'completeslash' option. (Yasuhiro Matsumoto, closes vim/vim#3612)
https://github.com/vim/vim/commit/ac3150d385e6e3f3fe76642aac3cda954d30583f
Diffstat (limited to 'runtime')
-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 beb5e9f4c2..448df31798 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1386,6 +1386,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 @@ -5289,7 +5304,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 (Vim default on, Vi default off) global |