diff options
author | Lewis Russell <lewis6991@gmail.com> | 2022-10-08 15:48:07 +0100 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2022-10-13 16:37:23 +0100 |
commit | 288208257c8d6b3c8dcce7ee6c7b6c7bb7bafb27 (patch) | |
tree | 8a4d8f0d54a98d87bb219f54def43a5f0aa5d402 /src/nvim/eval/funcs.c | |
parent | eb123b565e201418dd135d2602dc20eea3cead39 (diff) | |
download | rneovim-288208257c8d6b3c8dcce7ee6c7b6c7bb7bafb27.tar.gz rneovim-288208257c8d6b3c8dcce7ee6c7b6c7bb7bafb27.tar.bz2 rneovim-288208257c8d6b3c8dcce7ee6c7b6c7bb7bafb27.zip |
feat(cscope)!: remove
Diffstat (limited to 'src/nvim/eval/funcs.c')
-rw-r--r-- | src/nvim/eval/funcs.c | 25 |
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 |