aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-25 11:34:48 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-04-27 09:21:33 -0400
commit5e1f434764bc553d49baeeca1bdd952e0a366e98 (patch)
treef1d163de497969c11626a1fbf6ef3032add67d11 /runtime/doc
parentc8f07e5e1f073d7ed8eb7cd0185b7b5fa26ad474 (diff)
downloadrneovim-5e1f434764bc553d49baeeca1bdd952e0a366e98.tar.gz
rneovim-5e1f434764bc553d49baeeca1bdd952e0a366e98.tar.bz2
rneovim-5e1f434764bc553d49baeeca1bdd952e0a366e98.zip
vim-patch:2963456ff2b7
Update runtime files. https://github.com/vim/vim/commit/2963456ff2b740244b3a064785fe681b1998d75e
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/eval.txt30
-rw-r--r--runtime/doc/pi_zip.txt13
2 files changed, 25 insertions, 18 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 365cc90e85..05a2ff16a5 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -2645,8 +2645,6 @@ argv([{nr} [, {winid}])
The {winid} argument specifies the window ID, see |argc()|.
For the Vim command line arguments see |v:argv|.
-assert_ functions are documented here: |assert-functions-details|
-
asin({expr}) *asin()*
Return the arc sine of {expr} measured in radians, as a |Float|
in the range of [-pi/2, pi/2].
@@ -2659,6 +2657,9 @@ asin({expr}) *asin()*
< -0.523599
+assert_ functions are documented here: |assert-functions-details|
+
+
atan({expr}) *atan()*
Return the principal value of the arc tangent of {expr}, in
the range [-pi/2, +pi/2] radians, as a |Float|.
@@ -3425,6 +3426,12 @@ diff_hlID({lnum}, {col}) *diff_hlID()*
The highlight ID can be used with |synIDattr()| to obtain
syntax information about the highlighting.
+empty({expr}) *empty()*
+ Return the Number 1 if {expr} is empty, zero otherwise.
+ A |List| or |Dictionary| is empty when it does not have any
+ items. A Number is empty when its value is zero. Special
+ variable is empty when it is |v:false| or |v:null|.
+
environ() *environ()*
Return all of environment variables as dictionary. You can
check if an environment variable exists like this: >
@@ -3433,12 +3440,6 @@ environ() *environ()*
use this: >
:echo index(keys(environ()), 'HOME', 0, 1) != -1
-empty({expr}) *empty()*
- Return the Number 1 if {expr} is empty, zero otherwise.
- A |List| or |Dictionary| is empty when it does not have any
- items. A Number is empty when its value is zero. Special
- variable is empty when it is |v:false| or |v:null|.
-
escape({string}, {chars}) *escape()*
Escape the characters in {chars} that occur in {string} with a
backslash. Example: >
@@ -6153,9 +6154,9 @@ matchstrpos({expr}, {pat} [, {start} [, {count}]]) *matchstrpos()*
*max()*
max({expr}) Return the maximum value of all items in {expr}.
- {expr} can be a list or a dictionary. For a dictionary,
- it returns the maximum of all values in the dictionary.
- If {expr} is neither a list nor a dictionary, or one of the
+ {expr} can be a List or a Dictionary. For a Dictionary,
+ it returns the maximum of all values in the Dictionary.
+ If {expr} is neither a List nor a Dictionary, or one of the
items in {expr} cannot be used as a Number this results in
an error. An empty |List| or |Dictionary| results in zero.
@@ -6207,9 +6208,9 @@ menu_get({path}, {modes}) *menu_get()*
*min()*
min({expr}) Return the minimum value of all items in {expr}.
- {expr} can be a list or a dictionary. For a dictionary,
- it returns the minimum of all values in the dictionary.
- If {expr} is neither a list nor a dictionary, or one of the
+ {expr} can be a List or a Dictionary. For a Dictionary,
+ it returns the minimum of all values in the Dictionary.
+ If {expr} is neither a List nor a Dictionary, or one of the
items in {expr} cannot be used as a Number this results in
an error. An empty |List| or |Dictionary| results in zero.
@@ -9093,6 +9094,7 @@ win_splitmove({nr}, {target} [, {options}]) *win_splitmove()*
then closing {nr}.
Both {nr} and {target} can be window numbers or |window-ID|s.
+ Both must be in the current tab page.
Returns zero for success, non-zero for failure.
diff --git a/runtime/doc/pi_zip.txt b/runtime/doc/pi_zip.txt
index 7a5e7166ba..36c66894de 100644
--- a/runtime/doc/pi_zip.txt
+++ b/runtime/doc/pi_zip.txt
@@ -4,7 +4,7 @@
| Zip File Interface |
+====================+
-Author: Charles E. Campbell <NdrOchip@ScampbellPfamily.AbizM>
+Author: Charles E. Campbell <NcampObell@SdrPchip.AorgM-NOSPAM>
(remove NOSPAM from Campbell's email first)
Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
The VIM LICENSE (see |copyright|) applies to the files in this
@@ -33,10 +33,11 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
also write to the file. Currently, one may not make a new file in
zip archives via the plugin.
+ COMMANDS~
*zip-x*
- x : may extract a listed file when the cursor is atop it
+ x : extract a listed file when the cursor is atop it
- OPTIONS
+ OPTIONS~
*g:zip_nomax*
@@ -101,6 +102,10 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
==============================================================================
4. History *zip-history* {{{1
+ v29 Apr 02, 2017 * (Klartext) reported that an encrypted zip file could
+ opened but the swapfile held unencrypted contents.
+ The solution is to edit the contents of a zip file
+ using the |:noswapfile| modifier.
v28 Oct 08, 2014 * changed the sanity checks for executables to reflect
the command actually to be attempted in zip#Read()
and zip#Write()
@@ -149,4 +154,4 @@ Copyright: Copyright (C) 2005-2015 Charles E Campbell *zip-copyright*
v1 Sep 15, 2005 * Initial release, had browsing, reading, and writing
==============================================================================
-vim:tw=78:ts=8:noet:ft=help:fdm=marker
+vim:tw=78:ts=8:ft=help:fdm=marker