NeoMutt  2024-04-25-89-g194907
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
config.c
Go to the documentation of this file.
1
29#include "config.h"
30#include <stdbool.h>
31#include <stddef.h>
32#include "config/lib.h"
33
37static struct ConfigDef IndexVars[] = {
38 // clang-format off
39 { "change_folder_next", DT_BOOL, false, 0, NULL,
40 "Suggest the next folder, rather than the first when using '<change-folder>'"
41 },
42 { "collapse_all", DT_BOOL, false, 0, NULL,
43 "Collapse all threads when entering a folder"
44 },
45 { "mark_macro_prefix", DT_STRING, IP "'", 0, NULL,
46 "Prefix for macros using '<mark-message>'"
47 },
48 { "uncollapse_jump", DT_BOOL, false, 0, NULL,
49 "When opening a thread, jump to the next unread message"
50 },
51 { "uncollapse_new", DT_BOOL, true, 0, NULL,
52 "Open collapsed threads when new mail arrives"
53 },
54 { NULL },
55 // clang-format on
56};
57
62{
64}
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
Definition: set.c:281
#define IP
Definition: set.h:54
bool config_init_index(struct ConfigSet *cs)
Register index config variables - Implements module_init_config_t -.
Definition: config.c:61
static struct ConfigDef IndexVars[]
Config definitions for the Index.
Definition: config.c:37
Definition: set.h:64
Container for lots of config items.
Definition: set.h:252
@ DT_BOOL
boolean option
Definition: types.h:32
@ DT_STRING
a string
Definition: types.h:45