comparison runtime/doc/options.txt @ 26708:f0d7cb510ce3

Update runtime files Commit: https://github.com/vim/vim/commit/fa3b72348d88343390fbe212cfc230fec1602fc2 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 24 13:18:38 2021 +0000 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Fri, 24 Dec 2021 14:30:04 +0100
parents 84d60deb8f82
children c2c40cefc17b
comparison
equal deleted inserted replaced
26707:d1af15dbf206 26708:f0d7cb510ce3
1 *options.txt* For Vim version 8.2. Last change: 2021 Dec 11 1 *options.txt* For Vim version 8.2. Last change: 2021 Dec 21
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
383 set opfunc=function('MyOpFunc') 383 set opfunc=function('MyOpFunc')
384 set opfunc=funcref('MyOpFunc') 384 set opfunc=funcref('MyOpFunc')
385 set opfunc={a\ ->\ MyOpFunc(a)} 385 set opfunc={a\ ->\ MyOpFunc(a)}
386 " set using a funcref variable 386 " set using a funcref variable
387 let Fn = function('MyTagFunc') 387 let Fn = function('MyTagFunc')
388 let &tagfunc = string(Fn) 388 let &tagfunc = Fn
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
9208 9208
9209 *'xtermcodes'* *'noxtermcodes'* 9209 *'xtermcodes'* *'noxtermcodes'*
9210 'xtermcodes' boolean (default on) 9210 'xtermcodes' boolean (default on)
9211 global 9211 global
9212 When detecting xterm patchlevel 141 or higher with the termresponse 9212 When detecting xterm patchlevel 141 or higher with the termresponse
9213 mechanism and this option is set, Vim will request the actual termimal 9213 mechanism and this option is set, Vim will request the actual terminal
9214 key codes and number of colors from the terminal. This takes care of 9214 key codes and number of colors from the terminal. This takes care of
9215 various configuration options of the terminal that cannot be obtained 9215 various configuration options of the terminal that cannot be obtained
9216 from the termlib/terminfo entry, see |xterm-codes|. 9216 from the termlib/terminfo entry, see |xterm-codes|.
9217 A side effect may be that t_Co changes and Vim will redraw the 9217 A side effect may be that t_Co changes and Vim will redraw the
9218 display. 9218 display.