1- *eval.txt* For Vim version 8.0. Last change: 2017 Apr 22
1+ *eval.txt* For Vim version 8.0. Last change: 2017 Apr 29
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -4584,6 +4584,7 @@ getqflist([{what}]) *getqflist()*
45844584 If the optional {what} dictionary argument is supplied, then
45854585 returns only the items listed in {what} as a dictionary. The
45864586 following string items are supported in {what} :
4587+ context get the context stored with | setqflist() |
45874588 nr get information for this quickfix list; zero
45884589 means the current quickfix list
45894590 title get the list title
@@ -4595,6 +4596,7 @@ getqflist([{what}]) *getqflist()*
45954596 returned.
45964597
45974598 The returned dictionary contains the following entries:
4599+ context context information stored with | setqflist() |
45984600 nr quickfix list number
45994601 title quickfix list title text
46004602 winid quickfix | window-ID | (if opened)
@@ -5265,9 +5267,14 @@ job_stop({job} [, {how}]) *job_stop()*
52655267 0 if "how" is not supported on the system.
52665268 Note that even when the operation was executed, whether the
52675269 job was actually stopped needs to be checked with
5268- job_status().
5269- The status of the job isn't checked, the operation will even
5270- be done when Vim thinks the job isn't running.
5270+ | job_status() | .
5271+
5272+ If the status of the job is "dead", the signal will not be
5273+ sent. This is to avoid to stop the wrong job (esp. on Unix,
5274+ where process numbers are recycled).
5275+
5276+ When using "kill" Vim will assume the job will die and close
5277+ the channel.
52715278
52725279 {only available when compiled with the | +job | feature}
52735280
@@ -6982,6 +6989,7 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()*
69826989 only the items listed in {what} are set. The first {list}
69836990 argument is ignored. The following items can be specified in
69846991 {what} :
6992+ context any Vim type can be stored as a context
69856993 nr list number in the quickfix stack
69866994 title quickfix list title text
69876995 Unsupported keys in {what} are ignored.
@@ -8499,8 +8507,8 @@ listcmds Compiled with commands for the buffer list |:files|
84998507localmap Compiled with local mappings and abbr. | :map-local |
85008508lua Compiled with Lua interface | Lua | .
85018509mac Any Macintosh version of Vim, but not all OS X.
8502- macunix Compiled for OS X, with darwin
8503- osx Compiled for OS X, with or without darwin
8510+ macunix Compiled for OS X, with | mac- darwin-feature |
8511+ osx Compiled for OS X, with or w/o | mac- darwin-feature |
85048512menu Compiled with support for | :menu | .
85058513mksession Compiled with support for | :mksession | .
85068514modify_fname Compiled with file name modifiers. | filename-modifiers |
@@ -10679,18 +10687,19 @@ missing: >
1067910687
1068010688 To execute a command only when the | +eval | feature is disabled requires a trick,
1068110689as this example shows: >
10682- if 1
10683- nnoremap : :"
10684- endif
10685- normal :set history=111<CR>
10686- if 1
10687- nunmap :
10688- endif
10690+
10691+ silent! while 0
10692+ set history=111
10693+ silent! endwhile
10694+
10695+ When the | +eval | feature is available the command is skipped because of the
10696+ "while 0". Without the | +eval | feature the "while 0" is an error, which is
10697+ silently ignored, and the command is executed.
1068910698
1069010699The "<CR> " here is a real CR character, type CTRL-V Enter to get it.
1069110700
1069210701When the | +eval | feature is available the ":" is remapped to add a double
10693- quote, which has the effect of commenting-out the command. without the
10702+ quote, which has the effect of commenting-out the command. Without the
1069410703| +eval | feature the nnoremap command is skipped and the command is executed.
1069510704
1069610705==============================================================================
0 commit comments