summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--company-ebuild.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/company-ebuild.el b/company-ebuild.el
index 022a058..3f4cceb 100644
--- a/company-ebuild.el
+++ b/company-ebuild.el
@@ -245,7 +245,13 @@ ARG is the completion argument for annotation and candidates."
;;;###autoload
(defun company-ebuild-setup ()
- "Setup for Company-Ebuild."
+ "Setup for Company-Ebuild.
+
+To setup the integration correctly, add this function to ‘ebuild-mode-hook’
+in your config:
+\(add-hook 'ebuild-mode-hook 'company-ebuild-setup)
+or `require' Company-Ebuild:
+\(require 'company-ebuild)"
;; Force-enable `company-mode'.
(when (null company-mode)
(company-mode +1))