mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 23:08:16 +00:00
Remove FEAT_MENU
Support for :menu command. It can be used in terminal Vim too.
This commit is contained in:
@@ -120,7 +120,6 @@
|
|||||||
#define FEAT_LINEBREAK
|
#define FEAT_LINEBREAK
|
||||||
#define FEAT_LISP
|
#define FEAT_LISP
|
||||||
#define FEAT_LOCALMAP
|
#define FEAT_LOCALMAP
|
||||||
#define FEAT_MENU
|
|
||||||
#define FEAT_MODIFY_FNAME
|
#define FEAT_MODIFY_FNAME
|
||||||
#define FEAT_MOUSE
|
#define FEAT_MOUSE
|
||||||
#define FEAT_MOUSE_DEC
|
#define FEAT_MOUSE_DEC
|
||||||
|
@@ -1395,7 +1395,7 @@ void ex_emenu(exarg_T *eap)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(FEAT_GUI_MSWIN) \
|
#if defined(FEAT_GUI_MSWIN) \
|
||||||
|| (defined(FEAT_GUI_GTK) && defined(FEAT_MENU)) \
|
|| defined(FEAT_GUI_GTK) \
|
||||||
|| defined(FEAT_BEVAL_TIP) || defined(PROTO)
|
|| defined(FEAT_BEVAL_TIP) || defined(PROTO)
|
||||||
/*
|
/*
|
||||||
* Given a menu descriptor, e.g. "File.New", find it in the menu hierarchy.
|
* Given a menu descriptor, e.g. "File.New", find it in the menu hierarchy.
|
||||||
|
@@ -2324,8 +2324,7 @@ void ttest(int pairs)
|
|||||||
t_colors = atoi((char *)T_CCO);
|
t_colors = atoi((char *)T_CCO);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if (defined(FEAT_GUI) && (defined(FEAT_MENU) || !defined(USE_ON_FLY_SCROLL))) \
|
#if defined(FEAT_GUI) || defined(PROTO)
|
||||||
|| defined(PROTO)
|
|
||||||
static int get_long_from_buf(char_u *buf, long_u *val);
|
static int get_long_from_buf(char_u *buf, long_u *val);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -329,8 +329,7 @@ void add_to_input_buf(char_u *s, int len)
|
|||||||
|| defined(FEAT_GUI_MSWIN) \
|
|| defined(FEAT_GUI_MSWIN) \
|
||||||
|| defined(FEAT_GUI_MAC) \
|
|| defined(FEAT_GUI_MAC) \
|
||||||
|| defined(FEAT_MBYTE_IME) \
|
|| defined(FEAT_MBYTE_IME) \
|
||||||
|| (defined(FEAT_GUI) && (!defined(USE_ON_FLY_SCROLL) \
|
|| defined(FEAT_GUI) \
|
||||||
|| defined(FEAT_MENU))) \
|
|
||||||
|| defined(PROTO)
|
|| defined(PROTO)
|
||||||
/*
|
/*
|
||||||
* Add "str[len]" to the input buffer while escaping CSI bytes.
|
* Add "str[len]" to the input buffer while escaping CSI bytes.
|
||||||
|
Reference in New Issue
Block a user