Repository: neovim/neovim
File: src/nvim/buffer_defs.h (C/C++)

Code before:

  ScopeDictDictItem b_bufvar;  ///< Variable for "b:" Dict.
  dict_T *b_vars;  ///< b: scope Dict.

  // When a buffer is created, it starts without a swap file.  b_may_swap is
  // then set to indicate that a swap file may be opened later.  It is reset
  // if a swap file could not be opened.
  bool b_may_swap;
  bool b_did_warn;              // Set to true if user has been warned on first
                                // change of a read-only file

  // Two special kinds of buffers:
  // help buffer  - used for help files, won't use a swap file.
  // spell buffer - used for spell info, never displayed and doesn't have a
  //                file name.
  bool b_help;                  // true for help file buffer (when set b_p_bt
                                // is "help")
  bool b_spell;                 // True for a spell file buffer, most fields
                                // are not used!

  char *b_prompt_text;          // set by prompt_setprompt()
  Callback b_prompt_callback;   // set by prompt_setcallback()
  Callback b_prompt_interrupt;  // set by prompt_setinterrupt()
  int b_prompt_insert;          // value for restart_edit when entering
                                // a prompt buffer window.
  fmark_T b_prompt_submitted;   // Start of current prompt insert

  synblock_T b_s;               // Info related to syntax highlighting.  w_s
                                // normally points to this, but some windows
                                // may use a different synblock_T.

  struct {
    int max;                    // maximum number of signs on a single line
    int last_max;               // value of max when the buffer was last drawn
    int count[SIGN_SHOW_MAX];   // number of lines with number of signs
    bool autom;                 // whether 'signcolumn' is displayed in "auto:n>1"
                                // configured window. "b_signcols" calculation
                                // is skipped if false.
  } b_signcols;

  Terminal *terminal;           // Terminal instance associated with the buffer

  AdditionalData *additional_data;      // Additional data from shada file if any.

  int b_mapped_ctrl_c;          // modes where CTRL-C is mapped

  MarkTree b_marktree[1];
  Map(uint32_t, uint32_t) b_extmark_ns[1];         // extmark namespaces

  // Store the line count as it was before appending or inserting lines.
  // Used to determine a valid range before splicing marks, when the line

Review comment (suggestion):
```suggestion
  fmark_T b_prompt_start;       // Start of the editable area of a prompt buffer.
```

Code after:

  ScopeDictDictItem b_bufvar;  ///< Variable for "b:" Dict.
  dict_T *b_vars;  ///< b: scope Dict.

  // When a buffer is created, it starts without a swap file.  b_may_swap is
  // then set to indicate that a swap file may be opened later.  It is reset
  // if a swap file could not be opened.
  bool b_may_swap;
  bool b_did_warn;              // Set to true if user has been warned on first
                                // change of a read-only file

  // Two special kinds of buffers:
  // help buffer  - used for help files, won't use a swap file.
  // spell buffer - used for spell info, never displayed and doesn't have a
  //                file name.
  bool b_help;                  // true for help file buffer (when set b_p_bt
                                // is "help")
  bool b_spell;                 // True for a spell file buffer, most fields
                                // are not used!

  char *b_prompt_text;          // set by prompt_setprompt()
  Callback b_prompt_callback;   // set by prompt_setcallback()
  Callback b_prompt_interrupt;  // set by prompt_setinterrupt()
  int b_prompt_insert;          // value for restart_edit when entering
                                // a prompt buffer window.
  fmark_T b_prompt_start;       // Start of the editable area of a prompt buffer.

  synblock_T b_s;               // Info related to syntax highlighting.  w_s
                                // normally points to this, but some windows
                                // may use a different synblock_T.

  struct {
    int max;                    // maximum number of signs on a single line
    int last_max;               // value of max when the buffer was last drawn
    int count[SIGN_SHOW_MAX];   // number of lines with number of signs
    bool autom;                 // whether 'signcolumn' is displayed in "auto:n>1"
                                // configured window. "b_signcols" calculation
                                // is skipped if false.
  } b_signcols;

  Terminal *terminal;           // Terminal instance associated with the buffer

  AdditionalData *additional_data;      // Additional data from shada file if any.

  int b_mapped_ctrl_c;          // modes where CTRL-C is mapped

  MarkTree b_marktree[1];
  Map(uint32_t, uint32_t) b_extmark_ns[1];         // extmark namespaces

  // Store the line count as it was before appending or inserting lines.
  // Used to determine a valid range before splicing marks, when the line