comparison runtime/doc/options.txt @ 26508:a0bc10e83cf8 v8.2.3784

patch 8.2.3784: the help for options is outdated Commit: https://github.com/vim/vim/commit/7b1463bca36d16e70afd6779e4fbb30761048c91 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 11 17:24:39 2021 +0000 patch 8.2.3784: the help for options is outdated Problem: The help for options is outdated. Solution: Include all the recent changes.
author Bram Moolenaar <Bram@vim.org>
date Sat, 11 Dec 2021 18:30:03 +0100
parents 65ab0b035dd8
children a77b661439f9
comparison
equal deleted inserted replaced
26507:903bd6552ec9 26508:a0bc10e83cf8
1 *options.txt* For Vim version 8.2. Last change: 2021 Dec 03 1 *options.txt* For Vim version 8.2. Last change: 2021 Dec 11
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
389 " set using a lambda expression 389 " set using a lambda expression
390 let &tagfunc = {t -> MyTagFunc(t)} 390 let &tagfunc = {t -> MyTagFunc(t)}
391 " set using a variable with lambda expression 391 " set using a variable with lambda expression
392 let L = {a, b, c -> MyTagFunc(a, b , c)} 392 let L = {a, b, c -> MyTagFunc(a, b , c)}
393 let &tagfunc = L 393 let &tagfunc = L
394 < 394
395 In Vim9 script, in a compiled function, you can use a lambda, but a
396 closured does not work, because the function will be called without the
397 context of where it was defined.
398
395 399
396 Setting the filetype 400 Setting the filetype
397 401
398 :setf[iletype] [FALLBACK] {filetype} *:setf* *:setfiletype* 402 :setf[iletype] [FALLBACK] {filetype} *:setf* *:setfiletype*
399 Set the 'filetype' option to {filetype}, but only if 403 Set the 'filetype' option to {filetype}, but only if
1487 functions are used when available. 1491 functions are used when available.
1488 keepascii For the ASCII characters (0x00 to 0x7f) use the US 1492 keepascii For the ASCII characters (0x00 to 0x7f) use the US
1489 case mapping, the current locale is not effective. 1493 case mapping, the current locale is not effective.
1490 This probably only matters for Turkish. 1494 This probably only matters for Turkish.
1491 1495
1496 *'cdhome'* *'cdh'*
1497 'cdhome' 'cdh' boolean (default: off)
1498 global
1499 When on, |:cd|, |:tcd| and |:lcd| without an argument changes the
1500 current working directory to the |$HOME| directory like in Unix.
1501 When off, those commands just print the current directory name.
1502 On Unix this option has no effect.
1503 NOTE: This option is reset when 'compatible' is set.
1504
1492 *'cdpath'* *'cd'* *E344* *E346* 1505 *'cdpath'* *'cd'* *E344* *E346*
1493 'cdpath' 'cd' string (default: equivalent to $CDPATH or ",,") 1506 'cdpath' 'cd' string (default: equivalent to $CDPATH or ",,")
1494 global 1507 global
1495 {not available when compiled without the 1508 {not available when compiled without the
1496 |+file_in_path| feature} 1509 |+file_in_path| feature}
1828 'backupcopy' & Unix: "yes" backup file is a copy 1841 'backupcopy' & Unix: "yes" backup file is a copy
1829 else: "auto" copy or rename backup file 1842 else: "auto" copy or rename backup file
1830 'balloonexpr' + "" text to show in evaluation balloon 1843 'balloonexpr' + "" text to show in evaluation balloon
1831 'breakindent' + off don't indent when wrapping lines 1844 'breakindent' + off don't indent when wrapping lines
1832 'cedit' - {unchanged} {set vim default only on resetting 'cp'} 1845 'cedit' - {unchanged} {set vim default only on resetting 'cp'}
1846 'cdhome' + off ":cd" don't chdir to home on non-Unix
1833 'cindent' + off no C code indentation 1847 'cindent' + off no C code indentation
1834 'compatible' - {unchanged} {set vim default only on resetting 'cp'} 1848 'compatible' - {unchanged} {set vim default only on resetting 'cp'}
1835 'copyindent' + off don't copy indent structure 1849 'copyindent' + off don't copy indent structure
1836 'cpoptions' & (all flags) Vi-compatible flags 1850 'cpoptions' & (all flags) Vi-compatible flags
1837 'cscopepathcomp'+ 0 don't show directories in tags list 1851 'cscopepathcomp'+ 0 don't show directories in tags list