Files
neovim/src/nvim/fold_defs.h
dundargoc 735aa4c4c8 refactor: remove redundant struct names
A struct can be anonymous if only its typedef is used.
2024-01-02 21:59:12 +01:00

16 lines
524 B
C

#pragma once
#include "nvim/pos_defs.h"
/// Info used to pass info about a fold from the fold-detection code to the
/// code that displays the foldcolumn.
typedef struct {
linenr_T fi_lnum; ///< line number where fold starts
int fi_level; ///< level of the fold; when this is zero the
///< other fields are invalid
int fi_low_level; ///< lowest fold level that starts in the same line
linenr_T fi_lines;
} foldinfo_T;
enum { FOLD_TEXT_LEN = 51, }; ///< buffer size for get_foldtext()