mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.1433
Problem: The Sniff interface is no longer useful, the tool has not been available for may years. Solution: Delete the Sniff interface and related code.
This commit is contained in:
18
src/normal.c
18
src/normal.c
@@ -163,9 +163,6 @@ static void nv_halfpage(cmdarg_T *cap);
|
||||
static void nv_join(cmdarg_T *cap);
|
||||
static void nv_put(cmdarg_T *cap);
|
||||
static void nv_open(cmdarg_T *cap);
|
||||
#ifdef FEAT_SNIFF
|
||||
static void nv_sniff(cmdarg_T *cap);
|
||||
#endif
|
||||
#ifdef FEAT_NETBEANS_INTG
|
||||
static void nv_nbcmd(cmdarg_T *cap);
|
||||
#endif
|
||||
@@ -420,9 +417,6 @@ static const struct nv_cmd
|
||||
{K_F8, farsi_fkey, 0, 0},
|
||||
{K_F9, farsi_fkey, 0, 0},
|
||||
#endif
|
||||
#ifdef FEAT_SNIFF
|
||||
{K_SNIFF, nv_sniff, 0, 0},
|
||||
#endif
|
||||
#ifdef FEAT_NETBEANS_INTG
|
||||
{K_F21, nv_nbcmd, NV_NCH_ALW, 0},
|
||||
#endif
|
||||
@@ -570,10 +564,6 @@ normal_cmd(
|
||||
* remembered in "opcount". */
|
||||
ca.opcount = opcount;
|
||||
|
||||
#ifdef FEAT_SNIFF
|
||||
want_sniff_request = sniff_connected;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* If there is an operator pending, then the command we take this time
|
||||
* will terminate it. Finish_op tells us to finish the operation before
|
||||
@@ -9388,14 +9378,6 @@ nv_open(cmdarg_T *cap)
|
||||
n_opencmd(cap);
|
||||
}
|
||||
|
||||
#ifdef FEAT_SNIFF
|
||||
static void
|
||||
nv_sniff(cmdarg_T *cap UNUSED)
|
||||
{
|
||||
ProcessSniffRequests();
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_NETBEANS_INTG
|
||||
static void
|
||||
nv_nbcmd(cmdarg_T *cap)
|
||||
|
Reference in New Issue
Block a user