summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-24 00:28:50 -0500
committerpommicket <pommicket@gmail.com>2022-12-24 00:28:50 -0500
commit1c346f2aba30fcb581f20f2b67bd5e6adcb4a7e6 (patch)
tree863b8ebbd37c67cb4dd0015d5c72a436dd89bc7e /ted.h
parent8d96a4b0f0ebb059a63cc4c3193e0169ccf4f5b5 (diff)
find build directory in a much better way
this will be useful for LSPs
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index a06b56d..637bed3 100644
--- a/ted.h
+++ b/ted.h
@@ -198,6 +198,7 @@ typedef struct {
GlRcTexture *bg_texture;
char bg_shader_text[4096];
char bg_shader_image[TED_PATH_MAX];
+ char root_identifiers[4096];
char build_default_command[256];
// [i] = comma-separated string of file extensions for language i, or NULL for none
char *language_extensions[LANG_COUNT];
@@ -538,3 +539,4 @@ static TextBuffer *find_search_buffer(Ted *ted);
void config_read(Ted *ted, ConfigPart **parts, const char *filename);
void config_parse(Ted *ted, ConfigPart **parts);
void config_free(Ted *ted);
+char *settings_get_root_dir(Settings *settings, const char *path);