From 3c85d86c9ec6917600737d7b9e8d97f362a7e781 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Mon, 1 Feb 2010 21:44:10 +0000 Subject: [PATCH] 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 --- ChangeLog | 7 +++++++ src/symbols.c | 3 +++ 2 files changed, 10 insertions(+) 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();