Neovim Home
src
nvim
change.h
Go to the documentation of this file.
1
#ifndef NVIM_CHANGE_H
2
#define NVIM_CHANGE_H
3
4
#include "
nvim/buffer_defs.h
"
// for buf_T
5
#include "
nvim/pos.h
"
// for linenr_T
6
7
// flags for open_line()
8
#define OPENLINE_DELSPACES 1 // delete spaces after cursor
9
#define OPENLINE_DO_COM 2 // format comments
10
#define OPENLINE_KEEPTRAIL 4 // keep trailing spaces
11
#define OPENLINE_MARKFIX 8 // fix mark positions
12
#define OPENLINE_COM_LIST 16 // format comments with list/2nd line indent
13
14
#ifdef INCLUDE_GENERATED_DECLARATIONS
15
# include "change.h.generated.h"
16
#endif
17
18
#endif // NVIM_CHANGE_H
buffer_defs.h
pos.h