[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master e97d26f 51/78: Specify :type for company-dabbrev -ignore-c
From: |
Dmitry Gutov |
Subject: |
[elpa] master e97d26f 51/78: Specify :type for company-dabbrev -ignore-case and -downcase |
Date: |
Sun, 18 Feb 2018 07:40:24 -0500 (EST) |
branch: master
commit e97d26f421b4833ee99ef93feab5ee70611261fe
Author: Alex Branham <address@hidden>
Commit: Alex Branham <address@hidden>
Specify :type for company-dabbrev -ignore-case and -downcase
---
company-dabbrev.el | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/company-dabbrev.el b/company-dabbrev.el
index ecb7feb..c51d515 100644
--- a/company-dabbrev.el
+++ b/company-dabbrev.el
@@ -59,7 +59,11 @@ Or a function that returns non-nil for such buffers."
(defcustom company-dabbrev-ignore-case 'keep-prefix
"Non-nil to ignore case when collecting completion candidates.
When it's `keep-prefix', the text before point will remain unchanged after
-candidate is inserted, even some of its characters have different case.")
+candidate is inserted, even some of its characters have different case."
+ :type '(choice
+ (const :tag "Don't ignore case" nil)
+ (const :tag "Ignore case" ignore-case)
+ (const :tag "Keep case before point" keep-prefix)))
(defcustom company-dabbrev-downcase 'case-replace
"Whether to downcase the returned candidates.
@@ -69,7 +73,11 @@ The value of nil means keep them as-is.
Any other value means downcase.
If you set this value to nil, you may also want to set
-`company-dabbrev-ignore-case' to any value other than `keep-prefix'.")
+`company-dabbrev-ignore-case' to any value other than `keep-prefix'."
+ :type '(choice
+ (const :tag "Keep as-is" nil)
+ (const :tag "Downcase" downcase)
+ (const :tag "Use case-replace" case-replace)))
(defcustom company-dabbrev-minimum-length 4
"The minimum length for the completion candidate to be included.
- [elpa] master 285419b 66/78: Add a NEWS entry, (continued)
- [elpa] master 285419b 66/78: Add a NEWS entry, Dmitry Gutov, 2018/02/18
- [elpa] master bf94032 68/78: More NEWS entries, Dmitry Gutov, 2018/02/18
- [elpa] master 0284f41 67/78: Merge branch 'simpler-async', Dmitry Gutov, 2018/02/18
- [elpa] master aaae46b 74/78: M-x copyright-update, Dmitry Gutov, 2018/02/18
- [elpa] master 66e43a3 31/78: Add interactive tags and skip-unless, Dmitry Gutov, 2018/02/18
- [elpa] master cb2ae50 38/78: Don't restart semantics after ::, Dmitry Gutov, 2018/02/18
- [elpa] master 75b4daa 37/78: Merge pull request #737 from iquiw/container-based-ci, Dmitry Gutov, 2018/02/18
- [elpa] master 0f70fee 47/78: Add keywords for swift-mode, Dmitry Gutov, 2018/02/18
- [elpa] master 10807eb 48/78: Merge pull request #750 from jojojames/master, Dmitry Gutov, 2018/02/18
- [elpa] master 556fe45 45/78: Specify type, Dmitry Gutov, 2018/02/18
- [elpa] master e97d26f 51/78: Specify :type for company-dabbrev -ignore-case and -downcase,
Dmitry Gutov <=
- [elpa] master d789f26 54/78: Merge pull request #754 from jabranham/fix-defcustom, Dmitry Gutov, 2018/02/18
- [elpa] master 3959af9 52/78: Specify :type for company-semantic-begin-after-member-access, Dmitry Gutov, 2018/02/18
- [elpa] master 7c5408c 57/78: company-clang--start-process: Kill the existing process, if any, Dmitry Gutov, 2018/02/18
- [elpa] master 0efc9f3 58/78: Reindent, Dmitry Gutov, 2018/02/18
- [elpa] master b22df34 60/78: Use inhibit-redisplay, Dmitry Gutov, 2018/02/18
- [elpa] master 307b620 59/78: Simplify how async backends are called (WIP), Dmitry Gutov, 2018/02/18
- [elpa] master 82d41b7 70/78: Avoid an extra redisplay call, Dmitry Gutov, 2018/02/18
- [elpa] master 4004c7f 42/78: Merge pull request #748 from nikital/tng-dont-require-match, Dmitry Gutov, 2018/02/18
- [elpa] master 6ddeae2 43/78: Rework Clang version handling, Dmitry Gutov, 2018/02/18
- [elpa] master 0bd111d 49/78: Add keywords for kotlin-mode, Dmitry Gutov, 2018/02/18