Skip to content

customize generate option #16

@chaomai

Description

@chaomai

For now, I know I can use vim_tags_use_language_field to specify --fields=+l option.

What if I want to specify more complex option? For example, --fields=+l --c-kinds=+p --c++-kinds=+p --extra=+q.

I want to use vim_tags_project_tags_command to achieve that. But it is not really convenient. The {OPTIONS} is modified internally, which means I have to keep {OPTIONS} and specify vim_tags_project_tags_command like this, {CTAGS} -R --fields=+l --c-kinds=+p --c++-kinds=+p --extra=+q {OPTIONS} {DIRECTORY} 2>/dev/null.

Maybe you can change vim_tags_use_language_field to something like vim_tags_generate_options and use it like this,

let g:vim_tags_generate_options='--fields=+l --c-kinds=+p --c++-kinds=+p --extra=+q'.

Thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions