Explicitly read filetype configuration files before generating global tags to get settings for custom filetypes.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4637 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2010-02-01 21:44:10 +00:00
parent 6e14e8a667
commit 3c85d86c9e
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c:
Explicitly read filetype configuration files before generating
global tags to get settings for custom filetypes.
2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:

View File

@ -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();