aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/funcs.c
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2022-10-14 09:53:15 +0100
committerGitHub <noreply@github.com>2022-10-14 09:53:15 +0100
commit9931db2e3fa43ed02e1b0bc6f167ed5398fa6369 (patch)
treeb29a3b9d45b0700da10be86c0237510a2a2f2cde /src/nvim/eval/funcs.c
parentd339b4aad7461937e1e03ac0836b2eb1354ff442 (diff)
parent7f11dfdef880ee98e4f18f046f21e285157d10ac (diff)
downloadrneovim-9931db2e3fa43ed02e1b0bc6f167ed5398fa6369.tar.gz
rneovim-9931db2e3fa43ed02e1b0bc6f167ed5398fa6369.tar.bz2
rneovim-9931db2e3fa43ed02e1b0bc6f167ed5398fa6369.zip
Merge pull request #20545 from lewis6991/remove_cscope
Diffstat (limited to 'src/nvim/eval/funcs.c')
-rw-r--r--src/nvim/eval/funcs.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/nvim/eval/funcs.c b/src/nvim/eval/funcs.c
index a326c44371..861f68993a 100644
--- a/src/nvim/eval/funcs.c
+++ b/src/nvim/eval/funcs.c
@@ -39,7 +39,6 @@
#include "nvim/getchar.h"
#include "nvim/globals.h"
#include "nvim/highlight_group.h"
-#include "nvim/if_cscope.h"
#include "nvim/indent.h"
#include "nvim/indent_c.h"
#include "nvim/input.h"
@@ -1132,29 +1131,6 @@ static void f_count(typval_T *argvars, typval_T *rettv, EvalFuncData fptr)
rettv->vval.v_number = n;
}
-/// "cscope_connection([{num} , {dbpath} [, {prepend}]])" function
-///
-/// Checks the existence of a cscope connection.
-static void f_cscope_connection(typval_T *argvars, typval_T *rettv, EvalFuncData fptr)
-{
- int num = 0;
- const char *dbpath = NULL;
- const char *prepend = NULL;
- char buf[NUMBUFLEN];
-
- if (argvars[0].v_type != VAR_UNKNOWN
- && argvars[1].v_type != VAR_UNKNOWN) {
- num = (int)tv_get_number(&argvars[0]);
- dbpath = tv_get_string(&argvars[1]);
- if (argvars[2].v_type != VAR_UNKNOWN) {
- prepend = tv_get_string_buf(&argvars[2], buf);
- }
- }
-
- rettv->vval.v_number = cs_connection(num, (char_u *)dbpath,
- (char_u *)prepend);
-}
-
/// "ctxget([{index}])" function
static void f_ctxget(typval_T *argvars, typval_T *rettv, EvalFuncData fptr)
{
@@ -3565,7 +3541,6 @@ static void f_has(typval_T *argvars, typval_T *rettv, EvalFuncData fptr)
"cmdwin",
"comments",
"conceal",
- "cscope",
"cursorbind",
"cursorshape",
#ifdef DEBUG