add gtags mode configuration