Skip to content

Conversation

@huhumt
Copy link

@huhumt huhumt commented Mar 1, 2023

Add support to use different ctags arguments based on filetype, I've tested on my .vimrc with this settings:

let g:gutentags_ctags_extra_args_dict = {
            \ 'c': [
                \ '--fields=+ailmnS',
                \ '--recurse',
                \ '--languages=C,C++',
                \ '--c++-kinds=+p',
                \ '--extras=+q'
                \ ],
            \ 'cpp': [
                \ '--fields=+ailmnS',
                \ '--recurse',
                \ '--languages=C,C++',
                \ '--c++-kinds=+p',
                \ '--extras=+q'
                \ ],
            \ }

With this modification, the vim plugin code parameter autocomplete will take effects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant