aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/change.h
blob: 084d66c51f3059c2c2cb1395247a545ed39d5411 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <stddef.h>  // IWYU pragma: keep

#include "nvim/pos_defs.h"  // IWYU pragma: keep
#include "nvim/types_defs.h"  // IWYU pragma: keep

/// flags for open_line()
enum {
  OPENLINE_DELSPACES    = 0x01,  ///< delete spaces after cursor
  OPENLINE_DO_COM       = 0x02,  ///< format comments
  OPENLINE_KEEPTRAIL    = 0x04,  ///< keep trailing spaces
  OPENLINE_MARKFIX      = 0x08,  ///< fix mark positions
  OPENLINE_COM_LIST     = 0x10,  ///< format comments with list/2nd line indent
  OPENLINE_FORMAT       = 0x20,  ///< formatting long comment
  OPENLINE_FORCE_INDENT = 0x40,  ///< use second_line_indent without indent logic
};

#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "change.h.generated.h"
#endif