Skip to content

add support for different ctags arguments based on filetype#342

Open
huhumt wants to merge 1 commit intoludovicchabant:masterfrom
huhumt:add_ctags_args_based_on_filetype
Open

add support for different ctags arguments based on filetype#342
huhumt wants to merge 1 commit intoludovicchabant:masterfrom
huhumt:add_ctags_args_based_on_filetype

Conversation

@huhumt
Copy link
Copy Markdown

@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