summaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/vim9.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/doc/vim9.txt b/runtime/doc/vim9.txt
index c7286ecdf..1d7aec946 100644
--- a/runtime/doc/vim9.txt
+++ b/runtime/doc/vim9.txt
@@ -195,6 +195,18 @@ Function call: >
arg2
)
+For binary operators iin expressions not in [], {} or () a line break is
+possible AFTER the operators. For example: >
+ let text = lead ..
+ middle ..
+ end
+ let total = start +
+ end -
+ correction
+ let result = positive ?
+ PosFunc(arg) :
+ NegFunc(arg)
+
Note that "enddef" cannot be used at the start of a continuation line, it ends
the current function.