forked from aniani/vim
Updated runtime files. Remove version checks for Vim older than 6.0.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 7.4. Last change: 2016 Aug 29
|
||||
*eval.txt* For Vim version 7.4. Last change: 2016 Aug 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@@ -643,13 +643,17 @@ It's possible to form a variable name with curly braces, see
|
||||
|
||||
Expression syntax summary, from least to most significant:
|
||||
|
||||
|expr1| expr2 ? expr1 : expr1 if-then-else
|
||||
|expr1| expr2
|
||||
expr2 ? expr1 : expr1 if-then-else
|
||||
|
||||
|expr2| expr3 || expr3 .. logical OR
|
||||
|expr2| expr3
|
||||
expr3 || expr3 .. logical OR
|
||||
|
||||
|expr3| expr4 && expr4 .. logical AND
|
||||
|expr3| expr4
|
||||
expr4 && expr4 .. logical AND
|
||||
|
||||
|expr4| expr5 == expr5 equal
|
||||
|expr4| expr5
|
||||
expr5 == expr5 equal
|
||||
expr5 != expr5 not equal
|
||||
expr5 > expr5 greater than
|
||||
expr5 >= expr5 greater than or equal
|
||||
@@ -666,24 +670,28 @@ Expression syntax summary, from least to most significant:
|
||||
expr5 is expr5 same |List| instance
|
||||
expr5 isnot expr5 different |List| instance
|
||||
|
||||
|expr5| expr6 + expr6 .. number addition or list concatenation
|
||||
|expr5| expr6
|
||||
expr6 + expr6 .. number addition or list concatenation
|
||||
expr6 - expr6 .. number subtraction
|
||||
expr6 . expr6 .. string concatenation
|
||||
|
||||
|expr6| expr7 * expr7 .. number multiplication
|
||||
|expr6| expr7
|
||||
expr7 * expr7 .. number multiplication
|
||||
expr7 / expr7 .. number division
|
||||
expr7 % expr7 .. number modulo
|
||||
|
||||
|expr7| ! expr7 logical NOT
|
||||
|expr7| expr8
|
||||
! expr7 logical NOT
|
||||
- expr7 unary minus
|
||||
+ expr7 unary plus
|
||||
|
||||
|expr8| expr8[expr1] byte of a String or item of a |List|
|
||||
|expr8| expr9
|
||||
expr8[expr1] byte of a String or item of a |List|
|
||||
expr8[expr1 : expr1] substring of a String or sublist of a |List|
|
||||
expr8.name entry in a |Dictionary|
|
||||
expr8(expr1, ...) function call with |Funcref| variable
|
||||
|
||||
|expr9| number number constant
|
||||
|expr9| number number constant
|
||||
"string" string constant, backslash is special
|
||||
'string' string constant, ' is doubled
|
||||
[expr1, ...] |List|
|
||||
|
||||
Reference in New Issue
Block a user