diff --git a/ChangeLog b/ChangeLog index 2494ed98..ce01da7a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-02-01 Enrico Tröger + + * src/symbols.c: + Explicitly read filetype configuration files before generating + global tags to get settings for custom filetypes. + + 2010-02-01 Nick Treleaven * src/plugins.c: diff --git a/src/symbols.c b/src/symbols.c index 55b501c2..4c1ba620 100644 --- a/src/symbols.c +++ b/src/symbols.c @@ -1358,6 +1358,9 @@ int symbols_generate_global_tags(int argc, char **argv, gboolean want_preprocess g_printerr(_("Unknown filetype extension for \"%s\".\n"), tags_file); return 1; } + /* load config in case of custom filetypes */ + filetypes_load_config(ft->id, FALSE); + /* load ignore list for C/C++ parser */ if (ft->id == GEANY_FILETYPES_C || ft->id == GEANY_FILETYPES_CPP) load_c_ignore_tags();