Skip to content

Commit

Permalink
search for gtk and glib separately
Browse files Browse the repository at this point in the history
  • Loading branch information
kongo2002 committed Feb 9, 2011
1 parent 6262896 commit c756890
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion syntax_checkers/c.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit c756890

Please sign in to comment.