diff options
author | pommicket <pommicket@gmail.com> | 2022-12-24 00:28:50 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-24 00:28:50 -0500 |
commit | 1c346f2aba30fcb581f20f2b67bd5e6adcb4a7e6 (patch) | |
tree | 863b8ebbd37c67cb4dd0015d5c72a436dd89bc7e /ted.h | |
parent | 8d96a4b0f0ebb059a63cc4c3193e0169ccf4f5b5 (diff) |
find build directory in a much better way
this will be useful for LSPs
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |