#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <stdbool.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "nvim/ascii.h"
#include "nvim/buffer.h"
#include "nvim/charset.h"
#include "nvim/event/stream.h"
#include "nvim/fileio.h"
#include "nvim/if_cscope.h"
#include "nvim/memory.h"
#include "nvim/message.h"
#include "nvim/os/input.h"
#include "nvim/os/os.h"
#include "nvim/os/time.h"
#include "nvim/path.h"
#include "nvim/quickfix.h"
#include "nvim/strings.h"
#include "nvim/tag.h"
#include "nvim/window.h"
#include "nvim/if_cscope_defs.h"
Macros | |
#define | CSREAD_BUFSIZE 2048 |
Enumerations | |
enum | { EXP_CSCOPE_SUBCMD, EXP_SCSCOPE_SUBCMD, EXP_CSCOPE_FIND, EXP_CSCOPE_KILL } |
Functions | |
char * | get_cscope_name (expand_T *xp, int idx) |
void | set_context_in_cscope_cmd (expand_T *xp, const char *arg, cmdidx_T cmdidx) |
void | ex_cscope (exarg_T *eap) |
Implementation of ":cscope" and ":lcscope". More... | |
void | ex_scscope (exarg_T *eap) |
Implementation of ":scscope". Same as ex_cscope(), but splits window, too. More... | |
void | ex_cstag (exarg_T *eap) |
Implementation of ":cstag". More... | |
bool | cs_fgets (char_u *buf, int size) FUNC_ATTR_NONNULL_ALL |
void | cs_free_tags (void) |
Called only from do_tag(), when popping the tag stack. More... | |
void | cs_print_tags (void) |
Called from do_tag(). More... | |
bool | cs_connection (int num, char_u *dbpath, char_u *ppath) |
void | cs_end (void) |
Only called when VIM exits to quit any cscope sessions. More... | |
#define CSREAD_BUFSIZE 2048 |
This simulates a vim_fgets(), but for cscope, returns the next line from the cscope output. should only be called from find_tags()
Implementation of ":scscope". Same as ex_cscope(), but splits window, too.
char* get_cscope_name | ( | expand_T * | xp, |
int | idx | ||
) |