On Fri, May 22, 2020 at 01:11:18PM +0200, Bram Moolenaar wrote:
> Patch 8.2.0807
> Problem:    Cannot easily restore a mapping.
> Solution:   Add mapset().
> Files:      runtime/doc/eval.txt, src/map.c, src/proto/map.pro, src/evalfunc.c
>             src/testdir/test_maparg.vim

> *** ../vim-8.2.0806/runtime/doc/eval.txt      2020-05-13 16:34:10.397723799 
> +0200
> --- runtime/doc/eval.txt      2020-05-22 12:52:07.920142788 +0200
> ***************
> *** 2582,2587 ****
> --- 2586,2593 ----
>                                       rhs of mapping {name} in mode {mode}
>   mapcheck({name} [, {mode} [, {abbr}]])
>                               String  check for mappings matching {name}
> + mapset({name}, {mode}, {abbr}, {dict}

This line is missing a closing )

> +                             none    restore mapping from |maparg()| result
>   match({expr}, {pat} [, {start} [, {count}]])
>                               Number  position where {pat} matches in {expr}
>   matchadd({group}, {pattern} [, {priority} [, {id} [, {dict}]]])

Marius Gedminas
-- 
Isn't air travel wonderful?  Breakfast in London, dinner in New York,
luggage in Brazil.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20200522175003.apohgnrymvqnl72u%40blynas.

Attachment: signature.asc
Description: PGP signature

Raspunde prin e-mail lui