Hi, In the recently added menu_info() function (which is similar to the maparg() function), I have addressed the script local menu mappings. A similar logic can be used for maparg().
- Yegappan On Wed, Apr 1, 2020 at 8:19 AM lacygoill <[email protected]> wrote: > *Describe the bug* > > maparg() with the {dict} arugment does not include a script key. > > *To Reproduce* > > Run this shell command: > > vim -Nu NONE +'nno <script> <c-a> <c-b>' > > Then this Ex command: > > :echo maparg('<c-a>', 'n', 0, 1)->keys() > > The list does not contain the script key. > > *Expected behavior* > > The list does contain the script key. > > *Environment* > > - Vim version: 8.2 Included patches: 1-480 > - OS: Ubuntu 16.04.6 LTS > - Terminal: XTerm(322) > > > -- -- 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/CAAW7x7kJg%3DLBcb6VWfovdKeSTDnNPniXZM9%2Bq%2B-gV-bsnJpHXA%40mail.gmail.com.
