Skip to content

Commit 42e6522

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 1645f95 + 64cefed commit 42e6522

156 files changed

Lines changed: 273 additions & 201 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

runtime/doc/eval.txt

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.4. Last change: 2016 Aug 28
1+
*eval.txt* For Vim version 7.4. Last change: 2016 Aug 29
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -643,7 +643,7 @@ It's possible to form a variable name with curly braces, see
643643

644644
Expression syntax summary, from least to most significant:
645645

646-
|expr1| expr2 ? expr1 : expr1 if-then-else
646+
|expr1| expr2 ? expr1 : expr1 if-then-else
647647

648648
|expr2| expr3 || expr3 .. logical OR
649649

@@ -736,7 +736,9 @@ use in a variable such as "a:1".
736736
expr2 and expr3 *expr2* *expr3*
737737
---------------
738738

739-
*expr-barbar* *expr-&&*
739+
expr3 || expr3 .. logical OR *expr-barbar*
740+
expr4 && expr4 .. logical AND *expr-&&*
741+
740742
The "||" and "&&" operators take one argument on each side. The arguments
741743
are (converted to) Numbers. The result is:
742744

@@ -1981,7 +1983,7 @@ assert_notmatch({pat}, {text} [, {msg}]) none assert {pat} not matches {text}
19811983
assert_true({actual} [, {msg}]) none assert {actual} is true
19821984
asin({expr}) Float arc sine of {expr}
19831985
atan({expr}) Float arc tangent of {expr}
1984-
atan2({expr}, {expr}) Float arc tangent of {expr1} / {expr2}
1986+
atan2({expr1}, {expr2}) Float arc tangent of {expr1} / {expr2}
19851987
browse({save}, {title}, {initdir}, {default})
19861988
String put up a file requester
19871989
browsedir({title}, {initdir}) String put up a directory requester
@@ -5905,9 +5907,10 @@ printf({fmt}, {expr1} ...) *printf()*
59055907
%X hex number using upper case letters
59065908
%o octal number
59075909
%08b binary number padded with zeros to at least 8 chars
5908-
%f floating point number in the form 123.456
5909-
%e floating point number in the form 1.234e3
5910-
%E floating point number in the form 1.234E3
5910+
%f floating point number as 12.23, inf, -inf or nan
5911+
%F floating point number as 12.23, INF, -INF or NAN
5912+
%e floating point number as 1.23e3, inf, -inf or nan
5913+
%E floating point number as 1.23E3, INF, -INF or NAN
59115914
%g floating point number, as %f or %e depending on value
59125915
%G floating point number, as %f or %E depending on value
59135916
%% the % character itself
@@ -6039,8 +6042,9 @@ printf({fmt}, {expr1} ...) *printf()*
60396042
digits after the decimal point. When the precision is
60406043
zero the decimal point is omitted. When the precision
60416044
is not specified 6 is used. A really big number
6042-
(out of range or dividing by zero) results in "inf".
6043-
"0.0 / 0.0" results in "nan".
6045+
(out of range or dividing by zero) results in "inf"
6046+
or "-inf" with %f (INF or -INF with %F).
6047+
"0.0 / 0.0" results in "nan" with %f (NAN with %F).
60446048
Example: >
60456049
echo printf("%.2f", 12.115)
60466050
< 12.12
@@ -7507,7 +7511,7 @@ system({expr} [, {input}]) *system()* *E677*
75077511

75087512
Pipes are not used, the 'shelltemp' option is not used.
75097513

7510-
When prepended by |:silent| the shell will not be set to
7514+
When prepended by |:silent| the terminal will not be set to
75117515
cooked mode. This is meant to be used for commands that do
75127516
not need the user to type. It avoids stray characters showing
75137517
up on the screen which require |CTRL-L| to remove. >

src/alloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* vi:set ts=8 sts=4 sw=4:
1+
/* vi:set ts=8 sts=4 sw=4 noet:
22
*
33
* VIM - Vi IMproved by Bram Moolenaar
44
*

src/arabic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* vi:set ts=8 sts=4 sw=4:
1+
/* vi:set ts=8 sts=4 sw=4 noet:
22
*
33
* VIM - Vi IMproved by Bram Moolenaar
44
*

src/arabic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* vi:set ts=8 sts=4 sw=4:
1+
/* vi:set ts=8 sts=4 sw=4 noet:
22
*
33
* VIM - Vi IMproved by Bram Moolenaar
44
*

src/ascii.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* vi:set ts=8 sts=4 sw=4:
1+
/* vi:set ts=8 sts=4 sw=4 noet:
22
*
33
* VIM - Vi IMproved by Bram Moolenaar
44
*

src/blowfish.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* vi:set ts=8 sts=4 sw=4:
1+
/* vi:set ts=8 sts=4 sw=4 noet:
22
*
33
* VIM - Vi IMproved by Bram Moolenaar
44
*

src/buffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* vi:set ts=8 sts=4 sw=4:
1+
/* vi:set ts=8 sts=4 sw=4 noet:
22
*
33
* VIM - Vi IMproved by Bram Moolenaar
44
*

src/channel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* vi:set ts=8 sts=4 sw=4:
1+
/* vi:set ts=8 sts=4 sw=4 noet:
22
*
33
* VIM - Vi IMproved by Bram Moolenaar
44
*

src/charset.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* vi:set ts=8 sts=4 sw=4:
1+
/* vi:set ts=8 sts=4 sw=4 noet:
22
*
33
* VIM - Vi IMproved by Bram Moolenaar
44
*

src/crypt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* vi:set ts=8 sts=4 sw=4:
1+
/* vi:set ts=8 sts=4 sw=4 noet:
22
*
33
* VIM - Vi IMproved by Bram Moolenaar
44
*

0 commit comments

Comments
 (0)