Mercurial > vim
comparison src/evalfunc.c @ 20506:aee0b72ca6d6 v8.2.0807
patch 8.2.0807: cannot easily restore a mapping
Commit: https://github.com/vim/vim/commit/4c9243f9fb708c9010867d3cc8e928f36b58509a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 22 13:10:44 2020 +0200
patch 8.2.0807: cannot easily restore a mapping
Problem: Cannot easily restore a mapping.
Solution: Add mapset().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 22 May 2020 13:15:04 +0200 |
parents | c225be44692a |
children | 70986f70880a |
comparison
equal
deleted
inserted
replaced
20505:af5d9cf7e7a1 | 20506:aee0b72ca6d6 |
---|---|
662 #endif | 662 #endif |
663 }, | 663 }, |
664 {"map", 2, 2, FEARG_1, ret_any, f_map}, | 664 {"map", 2, 2, FEARG_1, ret_any, f_map}, |
665 {"maparg", 1, 4, FEARG_1, ret_string, f_maparg}, | 665 {"maparg", 1, 4, FEARG_1, ret_string, f_maparg}, |
666 {"mapcheck", 1, 3, FEARG_1, ret_string, f_mapcheck}, | 666 {"mapcheck", 1, 3, FEARG_1, ret_string, f_mapcheck}, |
667 {"mapset", 3, 3, FEARG_1, ret_void, f_mapset}, | |
667 {"match", 2, 4, FEARG_1, ret_any, f_match}, | 668 {"match", 2, 4, FEARG_1, ret_any, f_match}, |
668 {"matchadd", 2, 5, FEARG_1, ret_number, f_matchadd}, | 669 {"matchadd", 2, 5, FEARG_1, ret_number, f_matchadd}, |
669 {"matchaddpos", 2, 5, FEARG_1, ret_number, f_matchaddpos}, | 670 {"matchaddpos", 2, 5, FEARG_1, ret_number, f_matchaddpos}, |
670 {"matcharg", 1, 1, FEARG_1, ret_list_string, f_matcharg}, | 671 {"matcharg", 1, 1, FEARG_1, ret_list_string, f_matcharg}, |
671 {"matchdelete", 1, 2, FEARG_1, ret_number, f_matchdelete}, | 672 {"matchdelete", 1, 2, FEARG_1, ret_number, f_matchdelete}, |