On Sun, Oct 11, 2009 at 09:56:28PM -0400, David Fishburn wrote:
> 
> >> 2009/10/12 Nathan Huesken <[email protected]>
> 
> >> For omnicppcompletion to work correctly, ctags has to be invoked like
> >> this:
> >> ctags -R –c++-kinds=+p –fields=+iaS –extra=+q
> >> But there are many plugins (AutoTag ,Taglist) which generate the tag
> >> file for me ...
> >> Can I somehow tell these plugins, to use the command above?
> 
> I will let Yegappan give a more complete answer, but it looks like you
> can do something like this with the taglist plugin.
> 
> Taglist allows you to extend the plugin by filetype using this format
> in your .vimrc:
> let g:tlist_sql_settings = 'sql;f:functions;'
> 
> This is documented in taglist.txt.
> 
> It appears the ctags cmd line execute is built via:
> s:tlist_{a:ftype}_ctags_args
> 
> But since this is script variable (s:) it cannot be extended like you
> can with the global variable (g:).
> 
> Perhaps Yegappan could extend the taglist plugin to also allow you to
> specify additional parms like you can for some of the other settings.
> 
> As a temporary work around it would be exceptionally easy to add a
> check for that additional parameter like this perhaps:
> 
>     " Add the filetype specific arguments
>     let ctags_args = ctags_args . ' ' . s:tlist_{a:ftype}_ctags_args
> 
> To:
>     " Add the filetype specific arguments
>     let ctags_args = ctags_args . ' ' . g:tlist_{a:ftype}_ctags_args .
> s:tlist_{a:ftype}_ctags_args
> 
> Anyway, food for thought.
> 
> Dave
> 

I just discovered $HOME/.ctags which contains default arguments for
ctags ... that should work

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to