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

#include "nvim/ex_cmds_defs.h"  // IWYU pragma: keep
#include "nvim/types_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