neovim

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

edit.h (999B)


      1 #pragma once
      2 
      3 #include "nvim/autocmd_defs.h"  // IWYU pragma: keep
      4 #include "nvim/pos_defs.h"  // IWYU pragma: keep
      5 #include "nvim/types_defs.h"  // IWYU pragma: keep
      6 
      7 /// Values for in_cinkeys()
      8 enum {
      9  KEY_OPEN_FORW = 0x101,
     10  KEY_OPEN_BACK = 0x102,
     11  KEY_COMPLETE  = 0x103,  ///< end of completion
     12 };
     13 
     14 /// Values for change_indent()
     15 enum {
     16  INDENT_SET = 1,  ///< set indent
     17  INDENT_INC = 2,  ///< increase indent
     18  INDENT_DEC = 3,  ///< decrease indent
     19 };
     20 
     21 /// flags for beginline()
     22 enum {
     23  BL_WHITE = 1,  ///< cursor on first non-white in the line
     24  BL_SOL   = 2,  ///< use 'sol' option
     25  BL_FIX   = 4,  ///< don't leave cursor on a NUL
     26 };
     27 
     28 /// flags for insertchar()
     29 enum {
     30  INSCHAR_FORMAT   = 1,   ///< force formatting
     31  INSCHAR_DO_COM   = 2,   ///< format comments
     32  INSCHAR_CTRLV    = 4,   ///< char typed just after CTRL-V
     33  INSCHAR_NO_FEX   = 8,   ///< don't use 'formatexpr'
     34  INSCHAR_COM_LIST = 16,  ///< format comments with list/2nd line indent
     35 };
     36 
     37 #include "edit.h.generated.h"