hewes / unite-gtags

Unite source for GNU GLOBAL
Other
60 stars 10 forks source link

gtags/ref is loosing -rs option #9

Closed lepricon closed 8 years ago

lepricon commented 8 years ago

Unite gtags/ref source calls incorrect built_cmd, global gets only "-q" option, but not "-rsq". l:short_option is empty inside unite#libs#gtags#exec_global() This leads to incorrect output of only one result instead of all references. The last refactor commit introduced this bug.

thawk commented 8 years ago

It seens unite#libs#gtags#exec_global() wants to get 'long_option'/'short_option', but there's only 'long'/'short' in the sources/gtags.vim. Maybe sources/gtags.vim needs to be commit too?

lepricon commented 8 years ago

You're right! I will try to submit fix.

hewes commented 8 years ago

@lepricon, @thawk Oops! Thank you for pointing it out. I merged Pull #10