diff options
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 21 |
1 files changed, 9 insertions, 12 deletions
@@ -4,16 +4,16 @@ #define SUBTASK_INDENT 4 /* extra indent for subtasks */ #define WRAP_COLUMN 80 /* wrap item text past this column */ -/* colour theme (see todo.c for each): +/* + * colour theme (see `todo.c` for each): * - THEME_DEFAULT * - THEME_GRUVBOX * - THEME_NORD * - THEME_MONO - * - THEME_CUSTOM (the CUSTOM_THEME below) */ + * - THEME_CUSTOM (the CUSTOM_THEME below) + */ #define THEME THEME_DEFAULT - -/* used when THEME is THEME_CUSTOM */ -#define CUSTOM_THEME { \ +#define CUSTOM_THEME { /* used when THEME is THEME_CUSTOM */ \ .highlight = "\x1b[48;5;235m", .highlight_reset = "\x1b[49m", \ .section = "\x1b[1m", .section_reset = "\x1b[22m", \ .note = "\x1b[2;3m", .note_reset = "\x1b[22;23m", \ @@ -24,8 +24,10 @@ .important = "\x1b[1m", .important_reset = "\x1b[22m", \ } -/* checkbox glyphs (display only; the file always stores [ ] [-] [x]). - * OPT_* are for optional (*) tasks; any width is fine. */ +/* capitalize the first letter and add a trailing period */ +#define PROSE 1 + +/* checkbox glyphs (display only; the file always stores [ ] [-] [x]) */ #define MARK_TODO "[ ]" #define MARK_DOING "[-]" #define MARK_DONE "[x]" @@ -42,8 +44,3 @@ #define DATE_FORMAT "%a %d %b %Y" #define TIME_FORMAT "%H:%M" -/* limits (rarely need changing) */ -#define MAX_ITEMS 4096 /* most items in a list */ -#define MAX_TEXT 256 /* longest item text, in bytes */ -#define MAX_COMMAND 64 /* longest : command or / search */ -#define MAX_HISTORY 64 /* undo/redo depth */ |
