1 | #ifndef DEFINE_FUNC_ATTRIBUTES |
---|---|
2 | # define DEFINE_FUNC_ATTRIBUTES |
3 | #endif |
4 | #include "nvim/func_attr.h" |
5 | #undef DEFINE_FUNC_ATTRIBUTES |
6 | static int get_number_arg(const char *p, int *idx, int def) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_WARN_UNUSED_RESULT; |
7 | static void init_locale(void); |
8 | static _Bool edit_stdin(_Bool explicit, mparm_T *parmp); |
9 | static void command_line_scan(mparm_T *parmp); |
10 | static void init_params(mparm_T *paramp, int argc, char **argv); |
11 | static void init_startuptime(mparm_T *paramp); |
12 | static void check_and_set_isatty(mparm_T *paramp); |
13 | static void init_path(const char *exename) FUNC_ATTR_NONNULL_ALL; |
14 | static char_u *get_fname(mparm_T *parmp, char_u *cwd); |
15 | static void set_window_layout(mparm_T *paramp); |
16 | static void load_plugins(void); |
17 | static void handle_quickfix(mparm_T *paramp); |
18 | static void handle_tag(char_u *tagname); |
19 | static void read_stdin(void); |
20 | static void create_windows(mparm_T *parmp); |
21 | static void edit_buffers(mparm_T *parmp, char_u *cwd); |
22 | static void exe_pre_commands(mparm_T *parmp); |
23 | static void exe_commands(mparm_T *parmp); |
24 | static void do_system_initialization(void); |
25 | static _Bool do_user_initialization(void) FUNC_ATTR_WARN_UNUSED_RESULT; |
26 | static void source_startup_scripts(const mparm_T *const parmp) FUNC_ATTR_NONNULL_ALL; |
27 | static int execute_env(char *env) FUNC_ATTR_NONNULL_ALL; |
28 | static _Bool file_owned(const char *fname); |
29 | static void mainerr(const char *errstr, const char *str); |
30 | static void version(void); |
31 | static void usage(void); |
32 | static void check_swap_exists_action(void); |
33 | #include "nvim/func_attr.h" |
34 |