mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Remove SniFF
This commit is contained in:
parent
8a0043130f
commit
44a6f194b4
@ -1661,11 +1661,6 @@ char_u* skiptowhite(char_u *p)
|
||||
return p;
|
||||
}
|
||||
|
||||
#if defined(FEAT_LISTCMDS) \
|
||||
|| defined(FEAT_SIGNS) \
|
||||
|| defined(FEAT_SNIFF) \
|
||||
|| defined(PROTO)
|
||||
|
||||
/// skiptowhite_esc: Like skiptowhite(), but also skip escaped chars
|
||||
///
|
||||
/// @param p
|
||||
@ -1682,9 +1677,6 @@ char_u* skiptowhite_esc(char_u *p)
|
||||
return p;
|
||||
}
|
||||
|
||||
#endif // if defined(FEAT_LISTCMDS) || defined(FEAT_SIGNS)
|
||||
// || defined(FEAT_SNIFF) || defined(PROTO)
|
||||
|
||||
/// Getdigits: Get a number from a string and skip over it.
|
||||
///
|
||||
/// Note: the argument is a pointer to a char_u pointer!
|
||||
|
@ -859,8 +859,6 @@ enum CMD_index
|
||||
RANGE|NOTADR|ZEROR|EXTRA|TRLBAR|NOTRLCOM|USECTRLV|CMDWIN),
|
||||
EX(CMD_snext, "snext", ex_next,
|
||||
RANGE|NOTADR|BANG|FILES|EDITCMD|ARGOPT|TRLBAR),
|
||||
EX(CMD_sniff, "sniff", ex_sniff,
|
||||
EXTRA|TRLBAR),
|
||||
EX(CMD_snomagic, "snomagic", ex_submagic,
|
||||
RANGE|WHOLEFOLD|EXTRA|CMDWIN),
|
||||
EX(CMD_snoremap, "snoremap", ex_map,
|
||||
|
@ -191,7 +191,6 @@ static void ex_nogui(exarg_T *eap);
|
||||
# define ex_ruby ex_script_ni
|
||||
# define ex_rubydo ex_ni
|
||||
# define ex_rubyfile ex_ni
|
||||
# define ex_sniff ex_ni
|
||||
static void ex_swapname(exarg_T *eap);
|
||||
static void ex_syncbind(exarg_T *eap);
|
||||
static void ex_read(exarg_T *eap);
|
||||
|
@ -216,8 +216,6 @@ enum key_extra {
|
||||
, KE_TAB /* unshifted TAB key */
|
||||
, KE_S_TAB_OLD /* shifted TAB key (no longer used) */
|
||||
|
||||
, KE_SNIFF /* SNiFF+ input waiting */
|
||||
|
||||
, KE_XF1 /* extra vt100 function keys for xterm */
|
||||
, KE_XF2
|
||||
, KE_XF3
|
||||
@ -454,8 +452,6 @@ enum key_extra {
|
||||
#define K_IGNORE TERMCAP2KEY(KS_EXTRA, KE_IGNORE)
|
||||
#define K_NOP TERMCAP2KEY(KS_EXTRA, KE_NOP)
|
||||
|
||||
#define K_SNIFF TERMCAP2KEY(KS_EXTRA, KE_SNIFF)
|
||||
|
||||
#define K_MOUSEDOWN TERMCAP2KEY(KS_EXTRA, KE_MOUSEDOWN)
|
||||
#define K_MOUSEUP TERMCAP2KEY(KS_EXTRA, KE_MOUSEUP)
|
||||
#define K_MOUSELEFT TERMCAP2KEY(KS_EXTRA, KE_MOUSELEFT)
|
||||
|
@ -1566,7 +1566,6 @@ error:
|
||||
* "msec" == 0 will check for characters once.
|
||||
* "msec" == -1 will block until a character is available.
|
||||
* When a GUI is being used, this will not be used for input -- webb
|
||||
* Returns also, when a request from Sniff is waiting -- toni.
|
||||
* Or when a Linux GPM mouse event is waiting.
|
||||
*/
|
||||
static int RealWaitForChar(fd, msec, check_for_gpm)
|
||||
|
5
src/ui.c
5
src/ui.c
@ -292,7 +292,7 @@ void ui_breakcheck(void)
|
||||
* descriptions which would otherwise overflow. The buffer is considered full
|
||||
* when only this extra space (or part of it) remains.
|
||||
*/
|
||||
# define INBUFLEN 250
|
||||
# define INBUFLEN 4096
|
||||
|
||||
static char_u inbuf[INBUFLEN + MAX_KEY_CODE_LEN];
|
||||
static int inbufcount = 0; /* number of chars in inbuf[] */
|
||||
@ -364,8 +364,7 @@ void set_input_buf(char_u *p)
|
||||
#if defined(FEAT_GUI) \
|
||||
|| defined(FEAT_MOUSE_GPM) || defined(FEAT_SYSMOUSE) \
|
||||
|| defined(FEAT_XCLIPBOARD) || defined(VMS) \
|
||||
|| defined(FEAT_SNIFF) || defined(FEAT_CLIENTSERVER) \
|
||||
|| defined(PROTO)
|
||||
|| defined(PROTO) || defined(FEAT_CLIENTSERVER)
|
||||
/*
|
||||
* Add the given bytes to the input buffer
|
||||
* Special keys start with CSI. A real CSI must have been translated to
|
||||
|
@ -153,7 +153,6 @@ static char *(features[]) = {
|
||||
"+scrollbind",
|
||||
"+signs",
|
||||
"+smartindent",
|
||||
"-sniff",
|
||||
#ifdef STARTUPTIME
|
||||
"+startuptime",
|
||||
#else // ifdef STARTUPTIME
|
||||
|
Loading…
Reference in New Issue
Block a user