mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00

buffer.h: buflist_getfile() flags buflist_new() flags buf_freeall() flags do_buffer() flags charset.h: chartab[] flags edit.h: in_cinkeys() flags change_indent() flags beginline() flags insertchar() flags nv_mousescroll() flags eval.c AUTOLOAD_CHAR eval.h: enum for vimvars[] ex_cmds.h: do_ecmd read_viminfo flags ex_cmds2.h: check_changed() flags do_source() flags ex_cmds_defs.h: BAD_* flags ex_docmd.h: VALID_PATH VALID_HEAD EXMODE_* do_cmdline() flags added include ex_getln.c *_ESC_CHARS definitions ex_getln.h: history table flags - used by add_to_history() fileio.h: readfile() flags event_T definition getchar.h: ins_typebuf() flags KEYLEN_* globals.h: NO_SCREEN NO_BUFFERS SEA_* defines current_SID flags hlf_T enum HL_FLAGS do_profiling() flags schar_T sattr_T indent.h: set_indent() flags macros.h: BINARY_FILE_IO flags mbyte.h: MB_BYTE2LEN* ENC_* memfile.h: mf_sync() flags misc1.h: open_line() flags message.h: do_dialog() flags vim_dialogyesno() flags DLG_BUTTON_* normal.h: find_ident_under_cursor() flags ops.h: do_put() flags operator ID's option.h: buf_copy_options() flags OPT_* flags os_unix.h: mch_nodetype() flags quickfix.h: skip_vimgrep_pat() flags regexp.h: vim_regcomp() flags values for reg_do_extmatch search.h: do_search() flags search_regcomp() flags findmatchlimit() flags syntax.h: HL_* flags HL_FOLD is used in buffer_defs.h but nvim compiles just fine with the defines in syntax.h tag.h: do_tag() flags find_tags() flags term.h: TBUFSZ flags MOUSE flags ui.h: jump_to_mouse() flags window.h: file_name_in_line() flags win_split() flags MIN_LINES MIN_COLUMNS Remove VimClipboard which should have been removed with PR #921.
49 lines
1.5 KiB
C
49 lines
1.5 KiB
C
#ifndef NVIM_EDIT_H
|
|
#define NVIM_EDIT_H
|
|
|
|
#include "nvim/vim.h"
|
|
|
|
/*
|
|
* Array indexes used for cptext argument of ins_compl_add().
|
|
*/
|
|
#define CPT_ABBR 0 /* "abbr" */
|
|
#define CPT_MENU 1 /* "menu" */
|
|
#define CPT_KIND 2 /* "kind" */
|
|
#define CPT_INFO 3 /* "info" */
|
|
#define CPT_COUNT 4 /* Number of entries */
|
|
|
|
typedef int (*IndentGetter)(void);
|
|
|
|
/* Values for in_cinkeys() */
|
|
#define KEY_OPEN_FORW 0x101
|
|
#define KEY_OPEN_BACK 0x102
|
|
#define KEY_COMPLETE 0x103 /* end of completion */
|
|
|
|
/* Values for change_indent() */
|
|
#define INDENT_SET 1 /* set indent */
|
|
#define INDENT_INC 2 /* increase indent */
|
|
#define INDENT_DEC 3 /* decrease indent */
|
|
|
|
/* flags for beginline() */
|
|
#define BL_WHITE 1 /* cursor on first non-white in the line */
|
|
#define BL_SOL 2 /* use 'sol' option */
|
|
#define BL_FIX 4 /* don't leave cursor on a NUL */
|
|
|
|
/* flags for insertchar() */
|
|
#define INSCHAR_FORMAT 1 /* force formatting */
|
|
#define INSCHAR_DO_COM 2 /* format comments */
|
|
#define INSCHAR_CTRLV 4 /* char typed just after CTRL-V */
|
|
#define INSCHAR_NO_FEX 8 /* don't use 'formatexpr' */
|
|
#define INSCHAR_COM_LIST 16 /* format comments with list/2nd line indent */
|
|
|
|
/* direction for nv_mousescroll() and ins_mousescroll() */
|
|
#define MSCR_DOWN 0 /* DOWN must be FALSE */
|
|
#define MSCR_UP 1
|
|
#define MSCR_LEFT -1
|
|
#define MSCR_RIGHT -2
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "edit.h.generated.h"
|
|
#endif
|
|
#endif // NVIM_EDIT_H
|