branch: externals/company commit 8906f0ea4c0a4be91014f89e90f6eefbf4eb22d5 Author: YE <y...@ego.team> Commit: YE <y...@ego.team>
Improve company-clang user options documentation --- company-clang.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/company-clang.el b/company-clang.el index 9a38d86..045a28e 100644 --- a/company-clang.el +++ b/company-clang.el @@ -39,9 +39,10 @@ :type 'file) (defcustom company-clang-begin-after-member-access t - "When non-nil, automatic completion will start whenever the current -symbol is preceded by \".\", \"->\" or \"::\", ignoring -`company-minimum-prefix-length'. + "When non-nil, start automatic completion after member access operators. + +Automatic completion starts whenever the current symbol is preceded by +\".\", \"->\" or \"::\", ignoring `company-minimum-prefix-length'. If `company-begin-commands' is a list, it should include `c-electric-lt-gt' and `c-electric-colon', for automatic completion right after \">\" and @@ -59,7 +60,7 @@ it. That allows the flags use relative file names within the project." :safe 'booleanp) (defcustom company-clang-arguments nil - "Additional arguments to pass to clang when completing. + "A list of additional arguments to pass to clang when completing. Prefix files (-include ...) can be selected with `company-clang-set-prefix' or automatically through a custom `company-clang-prefix-guesser'." :type '(repeat (string :tag "Argument")))