diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-07-08 17:33:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-08 17:33:43 +0200 |
commit | 0fb4d173f8faa7ec4736ceb3b4e89ada6f7d73e5 (patch) | |
tree | 93bb22888e979af1e86dba6c419a441f44e67f42 /src/nvim/menu.c | |
parent | 6720fe253e92b21c7f989389a64e363b5933884f (diff) | |
parent | 829e1f2c43f84caa74c68e8a473d5faf8ec96c48 (diff) | |
download | rneovim-0fb4d173f8faa7ec4736ceb3b4e89ada6f7d73e5.tar.gz rneovim-0fb4d173f8faa7ec4736ceb3b4e89ada6f7d73e5.tar.bz2 rneovim-0fb4d173f8faa7ec4736ceb3b4e89ada6f7d73e5.zip |
Merge #6945 from justinmk/cpoptions
Diffstat (limited to 'src/nvim/menu.c')
-rw-r--r-- | src/nvim/menu.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/menu.c b/src/nvim/menu.c index 7e9e9e9e5c..c8e6012e5c 100644 --- a/src/nvim/menu.c +++ b/src/nvim/menu.c @@ -60,7 +60,6 @@ ex_menu ( char_u *map_to; int noremap; bool silent = false; - bool special = false; int unmenu; char_u *map_buf; char_u *arg; @@ -86,7 +85,7 @@ ex_menu ( continue; } if (STRNCMP(arg, "<special>", 9) == 0) { - special = true; + // Ignore obsolete "<special>" modifier. arg = skipwhite(arg + 9); continue; } @@ -222,7 +221,7 @@ ex_menu ( map_buf = NULL; // Menu tips are plain text. } else { map_to = replace_termcodes(map_to, STRLEN(map_to), &map_buf, false, true, - special, CPO_TO_CPO_FLAGS); + true, CPO_TO_CPO_FLAGS); } menuarg.modes = modes; menuarg.noremap[0] = noremap; |