branch: externals/company
commit 4377506e625bdadd64bc7fc9e9e25576f44f458d
Merge: 00f8b97 8906f0e
Author: Dmitry Gutov <[email protected]>
Commit: GitHub <[email protected]>
Merge pull request #1203 from yugaego/docstring
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")))