robin/laufey

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

bfredlMerge pull request #35206 from bfredl/nopreproc_cleanup38986188ba

master
803 B23 linesraw
1#pragma once
2
3#include "nvim/ex_cmds_defs.h"  // IWYU pragma: keep
4
5/// flags for do_ecmd()
6enum {
7  ECMD_HIDE       = 0x01,  ///< don't free the current buffer
8  ECMD_SET_HELP   = 0x02,  ///< set b_help flag of (new) buffer before opening file
9  ECMD_OLDBUF     = 0x04,  ///< use existing buffer if it exists
10  ECMD_FORCEIT    = 0x08,  ///< ! used in Ex command
11  ECMD_ADDBUF     = 0x10,  ///< don't edit, just add to buffer list
12  ECMD_ALTBUF     = 0x20,  ///< like ECMD_ADDBUF and set the alternate file
13  ECMD_NOWINENTER = 0x40,  ///< do not trigger BufWinEnter
14};
15
16/// for lnum argument in do_ecmd()
17enum {
18  ECMD_LASTL = 0,   ///< use last position in loaded file
19  ECMD_LAST  = -1,  ///< use last position in all files
20  ECMD_ONE   = 1,   ///< use first line
21};
22
23#include "ex_cmds.h.generated.h"