neovim

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

change.h (686B)


      1 #pragma once
      2 
      3 #include <stddef.h>  // IWYU pragma: keep
      4 
      5 #include "nvim/pos_defs.h"  // IWYU pragma: keep
      6 #include "nvim/types_defs.h"  // IWYU pragma: keep
      7 
      8 /// flags for open_line()
      9 enum {
     10  OPENLINE_DELSPACES    = 0x01,  ///< delete spaces after cursor
     11  OPENLINE_DO_COM       = 0x02,  ///< format comments
     12  OPENLINE_KEEPTRAIL    = 0x04,  ///< keep trailing spaces
     13  OPENLINE_MARKFIX      = 0x08,  ///< fix mark positions
     14  OPENLINE_COM_LIST     = 0x10,  ///< format comments with list/2nd line indent
     15  OPENLINE_FORMAT       = 0x20,  ///< formatting long comment
     16  OPENLINE_FORCE_INDENT = 0x40,  ///< use second_line_indent without indent logic
     17 };
     18 
     19 #include "change.h.generated.h"