diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2014-03-06 16:11:38 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-07 08:02:38 -0300 |
commit | a86da86d9822e16ffe0e9da7fe21864cd869ddf8 (patch) | |
tree | 5d744ba3716192dbd672e78acdb448f8ee333a45 /src/edit.h | |
parent | 3005681a02ca0478231329b5deae83a308687b21 (diff) | |
download | rneovim-a86da86d9822e16ffe0e9da7fe21864cd869ddf8.tar.gz rneovim-a86da86d9822e16ffe0e9da7fe21864cd869ddf8.tar.bz2 rneovim-a86da86d9822e16ffe0e9da7fe21864cd869ddf8.zip |
Move some types and consts from structs.h to other headers
- `foldinfo_T` to `fold.h`
- `context_sha256_T` to `sha256.h`
- `tagname_T` to `tag.h`
- `pumitem_T` to `popupmnu.h`
- `prt_*_T` to hardcopy.h`
- `CPT_*` consts to `edit.h`
- `vimmenu_T`, `MNU_HIDDEN_CHAR`, and `MENU_*` constants to `menu.h`
Diffstat (limited to 'src/edit.h')
-rw-r--r-- | src/edit.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/edit.h b/src/edit.h index b1ae8cbc94..9d45e54dc7 100644 --- a/src/edit.h +++ b/src/edit.h @@ -1,6 +1,15 @@ #ifndef NEOVIM_EDIT_H #define NEOVIM_EDIT_H -/* edit.c */ + +/* + * 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 */ + int edit(int cmdchar, int startln, long count); void edit_putchar(int c, int highlight); void edit_unputchar(void); |