You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a while, ripper tags (for Ruby) was supported by adding following options like this: let g:gutentags_ctags_executable_ruby = 'ripper-tags --ignore-unsupported-options --recursive'
This does not work anymore, because the executable is now passed as the whole string, and of course there is no executable called 'ripper-tags --ignore-unsupported-options --recursive.
Options are now passed separately, but setting them as let g:gutentags_ctags_extra_args = ['--ignore-unsupported-options'] breaks all non-ripper invocations, because ctags dies with ctags: Unknown option: --ignore-unsupported-options.
In other words, the extra options only make sense with the ripper-tags executable.
Would it be possible to add either g:gutentags_ctags_extra_args_{type} or use buffer local b:gutentags_ctags_extra_args so it's possible to set it in after/filetype/ruby.vim ?
The text was updated successfully, but these errors were encountered:
The functionality was taken away without a robust alternative because I just didn't think of it :)
FYI, the change was caused by the giant mess that is whitespace handling in shell scripts, for people who put vim files/projects/gutentags in directories with spaces in them.
So yes you're right we need to add a g:gutentags_ctags_extra_args_{type} option.
For a while, ripper tags (for Ruby) was supported by adding following options like this:
let g:gutentags_ctags_executable_ruby = 'ripper-tags --ignore-unsupported-options --recursive'
(see this comment).
This does not work anymore, because the executable is now passed as the whole string, and of course there is no executable called
'ripper-tags --ignore-unsupported-options --recursive
.Options are now passed separately, but setting them as
let g:gutentags_ctags_extra_args = ['--ignore-unsupported-options']
breaks all non-ripper invocations, because ctags dies withctags: Unknown option: --ignore-unsupported-options
.In other words, the extra options only make sense with the ripper-tags executable.
Would it be possible to add either
g:gutentags_ctags_extra_args_{type}
or use buffer localb:gutentags_ctags_extra_args
so it's possible to set it in after/filetype/ruby.vim ?The text was updated successfully, but these errors were encountered: