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:
parent
6e14e8a667
commit
3c85d86c9e
@ -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>
|
2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||||
|
|
||||||
* src/plugins.c:
|
* src/plugins.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);
|
g_printerr(_("Unknown filetype extension for \"%s\".\n"), tags_file);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
/* load config in case of custom filetypes */
|
||||||
|
filetypes_load_config(ft->id, FALSE);
|
||||||
|
|
||||||
/* load ignore list for C/C++ parser */
|
/* load ignore list for C/C++ parser */
|
||||||
if (ft->id == GEANY_FILETYPES_C || ft->id == GEANY_FILETYPES_CPP)
|
if (ft->id == GEANY_FILETYPES_C || ft->id == GEANY_FILETYPES_CPP)
|
||||||
load_c_ignore_tags();
|
load_c_ignore_tags();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user