Hi Bram, On Sun, Apr 24, 2022 at 10:44 AM Bram Moolenaar <[email protected]> wrote:
> *@brammool* commented on this pull request. > ------------------------------ > > In runtime/doc/builtin.txt > <https://github.com/vim/vim/pull/10273#discussion_r857158269>: > > > @@ -3570,6 +3571,17 @@ getloclist({nr} [, {what}]) > > *getloclist()* > :echo getloclist(5, {'filewinid': 0}) > > > +getmaps() *getmaps()* > > Except hasmapto(). It would be nice to start with "map", but what to call > it then? mapgetall() ? maplist()? > mapget() suggests getting one mapping. > I used getmappings() for now. > > > I think we should call this function maplist() or map_getlist(). There is some precedence for this with existing functions: digraph_getlist(), prop_type_list(), popup_list(), term_list() and tabpagebuflist(). On the other hand, we also have the following function names: getchangelist(), getjumplist(), getloclist(), getmarklist() and getqflist(). Regards, Yegappan -- -- 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/CAAW7x7mNSbutN8B%2BzECF4mpA_%3DVOLcGA5j6HHfC%3DVvo7wANfVQ%40mail.gmail.com.
