diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-27 20:26:22 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-27 21:25:35 -0400 |
commit | e7f6c520141c104960790d9bb2e52260ba959b76 (patch) | |
tree | ca42aab8e3c440bdbbef1dc4b2244fa0b4211edf /runtime/doc | |
parent | a299f54cd7e949e93a9ddc07ec13999e6da489af (diff) | |
download | rneovim-e7f6c520141c104960790d9bb2e52260ba959b76.tar.gz rneovim-e7f6c520141c104960790d9bb2e52260ba959b76.tar.bz2 rneovim-e7f6c520141c104960790d9bb2e52260ba959b76.zip |
vim-patch:b17893aa940d
Update runtime files
https://github.com/vim/vim/commit/b17893aa940dc7d45421f875f5d90855880aad27
Omit feedkeys() changes.
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/eval.txt | 31 | ||||
-rw-r--r-- | runtime/doc/options.txt | 4 |
2 files changed, 24 insertions, 11 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index f6ca0d5242..8558493520 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -5024,6 +5024,16 @@ has({feature}) Returns 1 if {feature} is supported, 0 otherwise. The {feature} argument is a feature name like "nvim-0.2.1" or "win32", see below. See also |exists()|. + If the code has a syntax error, then Nvim may skip the rest + of the line and miss |:endif|. > + if has('feature') | let x = this->breaks->without->the->feature | endif +< + Put |:if| and |:endif| on separate lines to avoid the + syntax error. > + if has('feature') + let x = this->breaks->without->the->feature + endif +< Vim's compile-time feature-names (prefixed with "+") are not recognized because Nvim is always compiled with all possible features. |feature-compile| @@ -7584,7 +7594,12 @@ setpos({expr}, {list}) setqflist({list} [, {action}[, {what}]]) *setqflist()* Create or replace or add to the quickfix list. - When {what} is not present, use the items in {list}. Each + If the optional {what} dictionary argument is supplied, then + only the items listed in {what} are set. The first {list} + argument is ignored. See below for the supported items in + {what}. + + When {what} is not present, the items in {list} are used. Each item must be a dictionary. Non-dictionary items in {list} are ignored. Each dictionary item can contain the following entries: @@ -7639,10 +7654,7 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()* freed. To add a new quickfix list at the end of the stack, set "nr" in {what} to "$". - If the optional {what} dictionary argument is supplied, then - only the items listed in {what} are set. The first {list} - argument is ignored. The following items can be specified in - {what}: + The following items can be specified in dictionary {what}: context quickfix list context. See |quickfix-context| efm errorformat to use when parsing text from "lines". If this is not present, then the @@ -9177,11 +9189,12 @@ winlayout([{tabnr}]) *winlayout()* " Two horizontally split windows :echo winlayout() ['col', [['leaf', 1000], ['leaf', 1001]]] - " Three horizontally split windows, with two - " vertically split windows in the middle window + " The second tab page, with three horizontally split + " windows, with two vertically split windows in the + " middle window :echo winlayout(2) - ['col', [['leaf', 1002], ['row', ['leaf', 1003], - ['leaf', 1001]]], ['leaf', 1000]] + ['col', [['leaf', 1002], ['row', [['leaf', 1003], + ['leaf', 1001]]], ['leaf', 1000]]] < *winline()* winline() The result is a Number, which is the screen line of the cursor diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 569fccc903..5ee32a32b0 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -3530,8 +3530,8 @@ A jump table for the options with a short description can be found at |Q_op|. be able to execute Normal mode commands. This is the opposite of the 'keymap' option, where characters are mapped in Insert mode. - Also consider resetting 'langremap' to avoid 'langmap' applies to - characters resulting from a mapping. + Also consider setting 'langremap' to off, to prevent 'langmap' from + applying to characters resulting from a mapping. This option cannot be set from a |modeline| or in the |sandbox|, for security reasons. |