From c75689037d8543c740c77ae87dc75d6563d980db Mon Sep 17 00:00:00 2001 From: kongo2002 Date: Wed, 9 Feb 2011 19:58:56 +0100 Subject: [PATCH] search for gtk and glib separately --- syntax_checkers/c.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/syntax_checkers/c.vim b/syntax_checkers/c.vim index bc83f002..a6e5a153 100644 --- a/syntax_checkers/c.vim +++ b/syntax_checkers/c.vim @@ -52,8 +52,10 @@ function! s:Init() let s:handlers = [] let s:cflags = {} - call s:RegHandler('\%(gtk\|glib\)', 's:CheckPKG', + call s:RegHandler('gtk', 's:CheckPKG', \ ['gtk', 'gtk+-2.0', 'gtk+', 'glib-2.0', 'glib']) + call s:RegHandler('glib', 's:CheckPKG', + \ ['glib', 'glib-2.0', 'glib']) call s:RegHandler('glade', 's:CheckPKG', \ ['glade', 'libglade-2.0', 'libglade']) call s:RegHandler('libsoup', 's:CheckPKG',