neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

fold_defs.h (524B)


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