aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-07-29 02:37:38 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-07-29 20:50:07 +0200
commitc8f34a9a3efa6e260e97c9c064f7e6cb8a099aa9 (patch)
tree913403fe7af24e7c74f9ea9078a51f7d592a03cb /runtime/doc
parentab2cfd24e72f6cbcbc4fcea596eead189f690091 (diff)
downloadrneovim-c8f34a9a3efa6e260e97c9c064f7e6cb8a099aa9.tar.gz
rneovim-c8f34a9a3efa6e260e97c9c064f7e6cb8a099aa9.tar.bz2
rneovim-c8f34a9a3efa6e260e97c9c064f7e6cb8a099aa9.zip
vim-patch:d47d52232bf2
Update runtime files. https://github.com/vim/vim/commit/d47d52232bf21036c5c89081458be7eaf2630d24
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/digraph.txt13
-rw-r--r--runtime/doc/eval.txt9
2 files changed, 14 insertions, 8 deletions
diff --git a/runtime/doc/digraph.txt b/runtime/doc/digraph.txt
index 95bc3722d0..953a65f125 100644
--- a/runtime/doc/digraph.txt
+++ b/runtime/doc/digraph.txt
@@ -91,11 +91,14 @@ this, you will have to type <BS> e again. To avoid this don't set the
You may have problems using Vim with characters which have a value above 128.
For example: You insert ue (u-umlaut) and the editor echoes \334 in Insert
-mode. After leaving the Insert mode everything is fine. Note that fmt
-removes all characters with a value above 128 from the text being formatted.
-On some Unix systems this means you have to define the environment-variable
-LC_CTYPE. If you are using csh, then put the following line in your .cshrc: >
- setenv LC_CTYPE iso_8859_1
+mode. After leaving the Insert mode everything is fine. On some Unix systems
+this means you have to define the environment-variable LC_CTYPE. If you are
+using csh, then put the following line in your .cshrc: >
+ setenv LC_CTYPE en_US.utf8
+(or similar for a different language or country). The value must be a valid
+locale on your system, i.e. on Unix-like systems it must be present in the
+output of >
+ locale -a
==============================================================================
3. Default digraphs *digraphs-default*
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 70e6895a75..d72b845ecd 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -482,7 +482,7 @@ To loop over the values use the |values()| function: >
:endfor
If you want both the key and the value use the |items()| function. It returns
-a List in which each item is a List with two items, the key and the value: >
+a List in which each item is a List with two items, the key and the value: >
:for [key, value] in items(mydict)
: echo key . ': ' . value
:endfor
@@ -1408,7 +1408,9 @@ Note that this means that filetype plugins don't get a different set of script
variables for each buffer. Use local buffer variables instead |b:var|.
-Predefined Vim variables: *vim-variable* *v:var* *v:*
+PREDEFINED VIM VARIABLES *vim-variable* *v:var* *v:*
+ *E963*
+Some variables can be set by the user, but the type cannot be changed.
*v:beval_col* *beval_col-variable*
v:beval_col The number of the column, over which the mouse pointer is.
@@ -7936,7 +7938,8 @@ str2float({expr}) *str2float()*
as when using a floating point number in an expression, see
|floating-point-format|. But it's a bit more permissive.
E.g., "1e40" is accepted, while in an expression you need to
- write "1.0e40".
+ write "1.0e40". The hexadecimal form "0x123" is also
+ accepted, but not others, like binary or octal.
Text after the number is silently ignored.
The decimal point is always '.', no matter what the locale is
set to. A comma ends the number: "12,345.67" is converted to