robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Justin M. Keyesrefactor(insert): rename edit.c => insert.c #4070581c4c295ac

master
1001 B37 linesraw
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()
8enum {
9  KEY_OPEN_FORW = 0x101,
10  KEY_OPEN_BACK = 0x102,
11  KEY_COMPLETE  = 0x103,  ///< end of completion
12};
13
14/// Values for change_indent()
15enum {
16  INDENT_SET = 1,  ///< set indent
17  INDENT_INC = 2,  ///< increase indent
18  INDENT_DEC = 3,  ///< decrease indent
19};
20
21/// flags for beginline()
22enum {
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()
29enum {
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 "insert.h.generated.h"