[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 49/52: company-backends: add better introduction
From: |
Dmitry Gutov |
Subject: |
[elpa] 49/52: company-backends: add better introduction |
Date: |
Tue, 01 Jul 2014 11:53:34 +0000 |
dgutov pushed a commit to branch master
in repository elpa.
commit bbaa888ef2b63b2b2d70f04194e7e00798fc67ec
Author: Dmitry Gutov <address@hidden>
Date: Sat Jun 28 06:14:33 2014 +0300
company-backends: add better introduction
#115
---
company.el | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/company.el b/company.el
index ccb82ab..9c4e616 100644
--- a/company.el
+++ b/company.el
@@ -329,6 +329,11 @@ This doesn't include the margins and the scroll bar."
company-oddmuse company-files company-dabbrev)
"The list of active back-ends (completion engines).
+Only one back-end is used at a time. The choice depends on the order of
+the items in this list, and on the values they return in response to the
+`prefix' command (see below). But a back-end can also be a \"grouped\"
+one (see below).
+
`company-begin-backend' can be used to start a specific back-end,
`company-other-backend' will skip to the next matching back-end in the list.
@@ -339,7 +344,7 @@ of the following:
`prefix': The back-end should return the text to be completed. It must be
text immediately before point. Returning nil passes control to the next
back-end. The function should return `stop' if it should complete but
-cannot \(e.g. if it is in the middle of a string\). Instead of a string,
+cannot (e.g. if it is in the middle of a string). Instead of a string,
the back-end may return a cons where car is the prefix and cdr is used in
`company-minimum-prefix-length' test. It must be either number or t, and
in the latter case the test automatically succeeds.
- [elpa] 39/52: company-update-group-lighter: privatize, (continued)
- [elpa] 39/52: company-update-group-lighter: privatize, Dmitry Gutov, 2014/07/01
- [elpa] 41/52: Improve comment wording, Dmitry Gutov, 2014/07/01
- [elpa] 37/52: company-pseudo-tooltip-edit: update company-width, Dmitry Gutov, 2014/07/01
- [elpa] 44/52: company-keywords-alist: ass js-mode -> javascript-mode alias, Dmitry Gutov, 2014/07/01
- [elpa] 43/52: company--should-idle-begin: use a more careful check, Dmitry Gutov, 2014/07/01
- [elpa] 42/52: Don't assign to company-point in company-abort and company-finish, Dmitry Gutov, 2014/07/01
- [elpa] 46/52: Never delete the "added newline" twice, Dmitry Gutov, 2014/07/01
- [elpa] 47/52: Don't call post-completion methods and hook in continue-failed case, Dmitry Gutov, 2014/07/01
- [elpa] 45/52: Bring back this-command check when company-idle-delay is t, Dmitry Gutov, 2014/07/01
- [elpa] 40/52: Define company-sort-by-backend-importance, Dmitry Gutov, 2014/07/01
- [elpa] 49/52: company-backends: add better introduction,
Dmitry Gutov <=
- [elpa] 48/52: Avoid requiring match is certain circumstances, Dmitry Gutov, 2014/07/01
- [elpa] 35/52: company-css: Add HTML5 tags and more CSS3 properties, Dmitry Gutov, 2014/07/01
- [elpa] 51/52: Release 0.8.1, Dmitry Gutov, 2014/07/01
- [elpa] 52/52: Merge commit '7c14dedc79bf0c6eaad5bf50b80ea80dd721afdc' from company, Dmitry Gutov, 2014/07/01
- [elpa] 50/52: company-capf.el: Don't ignore things like semantic-capf, Dmitry Gutov, 2014/07/01