summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/config.c b/config.c
index 2257722..f16e7b7 100644
--- a/config.c
+++ b/config.c
@@ -171,7 +171,6 @@ static void context_copy(SettingsContext *dest, const SettingsContext *src) {
dest->path = str_dup(src->path);
}
-// score is higher if context is closer match.
long context_score(const char *path, Language lang, const SettingsContext *context) {
long score = 0;
@@ -1058,8 +1057,6 @@ static char *last_separator(char *path) {
return NULL;
}
-// returns the best guess for the root directory of the project containing `path` (which should be an absolute path)
-// the return value should be freed.
char *settings_get_root_dir(Settings *settings, const char *path) {
char best_path[TED_PATH_MAX];
*best_path = '\0';