aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/various.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/various.txt')
-rw-r--r--runtime/doc/various.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt
index 38869f8e94..e1b87f60ad 100644
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -275,7 +275,7 @@ g8 Print the hex values of the bytes used in the
Special characters are not escaped, use quotes or
|shellescape()|: >
:!ls "%"
- :exe "!ls " . shellescape(expand("%"))
+ :exe "!ls " .. shellescape(expand("%"))
<
Newline character ends {cmd} unless a backslash
precedes the newline. What follows is interpreted as
@@ -432,7 +432,7 @@ g8 Print the hex values of the bytes used in the
used. In this example |:silent| is used to avoid the
message about reading the file and |:unsilent| to be
able to list the first line of each file. >
- :silent argdo unsilent echo expand('%') . ": " . getline(1)
+ :silent argdo unsilent echo expand('%') .. ": " .. getline(1)
<
*:verb* *:verbose*