Closed CharlesGueunet closed 6 years ago
The file .clang_complete
you mentioned at #168, is used to add extra options which will be passed to clang. If you want to change the file name, I think it's better to add a specific option to achieve this. A general option such as g:completor_additional_options
is not recommended to be used as way to add custom options to completers.
The g:completor_additional_options
allows to give the extra options written in the .clang_complete
file instead of reading it. It is not intended to change the name of the read file (and can avoid having to read it).
Is there any (generic) way to add options to the completer otherwise that I have missed ?
Hello,
This pull request resolve #168 . Now, the user can use the
g:completor_additional_options
to add options to the command line used for the completion.Remark: the
info.cmd
variable is a list containing the command and each options. But when this variable is empty, it is an empty string instead of an empty list, that is why I check the type in the fileaction.vim
Charles