summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-07-29 15:46:13 -0400
committerpommicket <pommicket@gmail.com>2022-07-29 15:46:13 -0400
commitefce2c731927adc4aaf26d6cc6c165bbced39eb5 (patch)
tree39c4eca8347f132c413a7405c2c3ae35d0fb0903 /ted.h
parent296b4eca9479bdd1302c4b2d910f3ddd8c955fb9 (diff)
auto reload config
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index cfaeba9..94e034c 100644
--- a/ted.h
+++ b/ted.h
@@ -141,6 +141,7 @@ typedef struct {
bool syntax_highlighting;
bool line_numbers;
bool auto_reload;
+ bool auto_reload_config;
bool restore_session;
bool regenerate_tags_if_not_found;
bool indent_with_spaces;
@@ -403,4 +404,7 @@ void command_execute(Ted *ted, Command c, i64 argument);
void ted_switch_to_buffer(Ted *ted, TextBuffer *buffer);
// the settings of the active buffer, or the default settings if there is no active buffer
Settings *ted_active_settings(Ted *ted);
+void ted_load_configs(Ted *ted);
static TextBuffer *find_search_buffer(Ted *ted);
+void config_read(Ted *ted, const char *filename, int pass);
+void config_free(Ted *ted);