NeoMutt  2024-11-14-34-g5aaf0d
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
config.c File Reference

Config used by libindex. More...

#include "config.h"
#include <stdbool.h>
#include <stddef.h>
#include "config/lib.h"
+ Include dependency graph for config.c:

Go to the source code of this file.

Functions

bool config_init_index (struct ConfigSet *cs)
 Register index config variables - Implements module_init_config_t -.
 

Variables

static struct ConfigDef IndexVars []
 Config definitions for the Index.
 

Detailed Description

Config used by libindex.

Authors
  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file config.c.

Variable Documentation

◆ IndexVars

struct ConfigDef IndexVars[]
static
Initial value:
= {
{ "change_folder_next", DT_BOOL, false, 0, NULL,
"Suggest the next folder, rather than the first when using '<change-folder>'"
},
{ "collapse_all", DT_BOOL, false, 0, NULL,
"Collapse all threads when entering a folder"
},
{ "mark_macro_prefix", DT_STRING, IP "'", 0, NULL,
"Prefix for macros using '<mark-message>'"
},
{ "uncollapse_jump", DT_BOOL, false, 0, NULL,
"When opening a thread, jump to the next unread message"
},
{ "uncollapse_new", DT_BOOL, true, 0, NULL,
"Open collapsed threads when new mail arrives"
},
{ NULL },
}
#define IP
Definition: set.h:54
@ DT_BOOL
boolean option
Definition: types.h:32
@ DT_STRING
a string
Definition: types.h:45

Config definitions for the Index.

Definition at line 37 of file config.c.