comparison runtime/doc/options.txt @ 17543:77c3f6428b6c v8.1.1769

patch 8.1.1769: 'shellslash' is also used for completion commit https://github.com/vim/vim/commit/ac3150d385e6e3f3fe76642aac3cda954d30583f Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 28 16:36:39 2019 +0200 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 https://github.com/vim/vim/issues/3612)
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Jul 2019 16:45:05 +0200
parents ca8e754bdd53
children 2704c4e3e20a
comparison
equal deleted inserted replaced
17542:8ff04f492f46 17543:77c3f6428b6c
1871 with CTRL-X CTRL-U. |i_CTRL-X_CTRL-U| 1871 with CTRL-X CTRL-U. |i_CTRL-X_CTRL-U|
1872 See |complete-functions| for an explanation of how the function is 1872 See |complete-functions| for an explanation of how the function is
1873 invoked and what it should return. 1873 invoked and what it should return.
1874 This option cannot be set from a |modeline| or in the |sandbox|, for 1874 This option cannot be set from a |modeline| or in the |sandbox|, for
1875 security reasons. 1875 security reasons.
1876
1877 *'completeslash'* *'csl'*
1878 'completeslash' 'csl' string (default: "")
1879 local to buffer
1880 {not in Vi} {only for MS-Windows}
1881 When this option is set it overrules 'shellslash' for completion:
1882 - When this option is set to "slash", a forward slash is used for path
1883 completion in insert mode. This is useful when editing HTML tag, or
1884 Makefile with 'noshellslash' on Windows.
1885 - When this option is set to "backslash", backslash is used. This is
1886 useful when editing a batch file with 'shellslash' set on Windows.
1887 - When this option is empty, same character is used as for
1888 'shellslash'.
1889 For Insert mode completion the buffer-local value is used. For
1890 command line completion the global value is used.
1876 1891
1877 *'completeopt'* *'cot'* 1892 *'completeopt'* *'cot'*
1878 'completeopt' 'cot' string (default: "menu,preview") 1893 'completeopt' 'cot' string (default: "menu,preview")
1879 global 1894 global
1880 {not available when compiled without the 1895 {not available when compiled without the
6519 existing file names, thus this option needs to be set before opening 6534 existing file names, thus this option needs to be set before opening
6520 any file for best results. This might change in the future. 6535 any file for best results. This might change in the future.
6521 'shellslash' only works when a backslash can be used as a path 6536 'shellslash' only works when a backslash can be used as a path
6522 separator. To test if this is so use: > 6537 separator. To test if this is so use: >
6523 if exists('+shellslash') 6538 if exists('+shellslash')
6524 < 6539 < Also see 'completeslash'.
6540
6525 *'shelltemp'* *'stmp'* *'noshelltemp'* *'nostmp'* 6541 *'shelltemp'* *'stmp'* *'noshelltemp'* *'nostmp'*
6526 'shelltemp' 'stmp' boolean (Vi default off, Vim default on) 6542 'shelltemp' 'stmp' boolean (Vi default off, Vim default on)
6527 global 6543 global
6528 When on, use temp files for shell commands. When off use a pipe. 6544 When on, use temp files for shell commands. When off use a pipe.
6529 When using a pipe is not possible temp files are used anyway. 6545 When using a pipe is not possible temp files are used anyway.