diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-06-30 17:17:27 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-07-01 10:17:39 +0800 |
commit | 015778a3817178a8fdc1150ef1b0eaa3dde776f1 (patch) | |
tree | 5675fea3870277dd861333ac01dac494d797d7e9 /src/nvim/ex_docmd.c | |
parent | 5551a29d065d8b6632b61f327f22da9166c8f9c6 (diff) | |
download | rneovim-015778a3817178a8fdc1150ef1b0eaa3dde776f1.tar.gz rneovim-015778a3817178a8fdc1150ef1b0eaa3dde776f1.tar.bz2 rneovim-015778a3817178a8fdc1150ef1b0eaa3dde776f1.zip |
vim-patch:8.1.0487: no menus specifically for the terminal window
Problem: No menus specifically for the terminal window.
Solution: Add :tlmenu. (Yee Cheng Chin, closes vim/vim#3439) Add a menu test.
https://github.com/vim/vim/commit/4c5d815256099b50eca2ec5bf8f9aaa67a890211
ADDR_OHTER comes from patch 8.1.1241, which has already been ported.
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 2ca038e56d..8fe62ae424 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -4060,6 +4060,9 @@ const char *set_one_cmd_context(expand_T *xp, const char *buff) case CMD_cmenu: case CMD_cnoremenu: case CMD_cunmenu: + case CMD_tlmenu: + case CMD_tlnoremenu: + case CMD_tlunmenu: case CMD_tmenu: case CMD_tunmenu: case CMD_popup: |