diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-02-26 12:25:45 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-26 12:25:45 +0000 |
commit | c51cf0329809c7ae946c59d6f56699227efc9d1b (patch) | |
tree | 825302ef0857905dbf08dc584ef6d6a8aae27790 /runtime/doc/map.txt | |
parent | e41c1dd8890d3f701253255993f4e9af2d12225c (diff) |
Update runtime files.
Diffstat (limited to 'runtime/doc/map.txt')
-rw-r--r-- | runtime/doc/map.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/map.txt b/runtime/doc/map.txt index 0135c6d511..61e3127024 100644 --- a/runtime/doc/map.txt +++ b/runtime/doc/map.txt @@ -314,7 +314,7 @@ Here is an example that inserts a list number that increases: > func ListItem() let g:counter += 1 - return g:counter . '. ' + return g:counter .. '. ' endfunc func ListReset() @@ -1697,12 +1697,12 @@ The valid escape sequences are Examples: > command! -nargs=+ -complete=file MyEdit \ for f in expand(<q-args>, 0, 1) | - \ exe '<mods> split ' . f | + \ exe '<mods> split ' .. f | \ endfor function! SpecialEdit(files, mods) for f in expand(a:files, 0, 1) - exe a:mods . ' split ' . f + exe a:mods .. ' split ' .. f endfor endfunction command! -nargs=+ -complete=file Sedit @@ -1778,7 +1778,7 @@ This will invoke: > : let i = 0 : while i < argc() : if filereadable(argv(i)) - : execute "e " . argv(i) + : execute "e " .. argv(i) : execute a:command : endif : let i = i + 1 |