aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds2.h
blob: 4f41f2cc41d73c225d0aad735d49fde8f2ebca5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include "nvim/buffer_defs.h"  // IWYU pragma: keep
#include "nvim/ex_cmds_defs.h"  // IWYU pragma: keep

/// flags for check_changed()
enum {
  CCGD_AW      = 1,   ///< do autowrite if buffer was changed
  CCGD_MULTWIN = 2,   ///< check also when several wins for the buf
  CCGD_FORCEIT = 4,   ///< ! used
  CCGD_ALLBUF  = 8,   ///< may write all buffers
  CCGD_EXCMD   = 16,  ///< may suggest using !
};

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