mirror of
https://github.com/neovim/neovim.git
synced 2025-09-21 10:48:18 +00:00
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`
This commit is contained in:

committed by
Thiago de Arruda

parent
3005681a02
commit
a86da86d98
14
src/fold.h
14
src/fold.h
@@ -1,6 +1,18 @@
|
||||
#ifndef NEOVIM_FOLD_H
|
||||
#define NEOVIM_FOLD_H
|
||||
/* fold.c */
|
||||
|
||||
/*
|
||||
* Info used to pass info about a fold from the fold-detection code to the
|
||||
* code that displays the foldcolumn.
|
||||
*/
|
||||
typedef struct foldinfo {
|
||||
int fi_level; /* level of the fold; when this is zero the
|
||||
other fields are invalid */
|
||||
int fi_lnum; /* line number where fold starts */
|
||||
int fi_low_level; /* lowest fold level that starts in the same
|
||||
line */
|
||||
} foldinfo_T;
|
||||
|
||||
void copyFoldingState(win_T *wp_from, win_T *wp_to);
|
||||
int hasAnyFolding(win_T *win);
|
||||
int hasFolding(linenr_T lnum, linenr_T *firstp, linenr_T *lastp);
|
||||
|
Reference in New Issue
Block a user