[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/company d53a77f: Update kind mappings to better corresp
From: |
ELPA Syncer |
Subject: |
[elpa] externals/company d53a77f: Update kind mappings to better correspond to CompletionItemKind |
Date: |
Mon, 29 Mar 2021 08:57:06 -0400 (EDT) |
branch: externals/company
commit d53a77f63a8316e62ba8f84d086c17325dd61b87
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
Update kind mappings to better correspond to CompletionItemKind
#1070
---
company-dabbrev-code.el | 2 +-
company-dabbrev.el | 2 +-
company-ispell.el | 2 +-
company.el | 3 ++-
4 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/company-dabbrev-code.el b/company-dabbrev-code.el
index a81dcde..da62ab0 100644
--- a/company-dabbrev-code.el
+++ b/company-dabbrev-code.el
@@ -97,7 +97,7 @@ comments or strings."
(`code company-dabbrev-code-modes)
(`all `all))
(not company-dabbrev-code-everywhere))))
- (kind 'key)
+ (kind 'text)
(ignore-case company-dabbrev-code-ignore-case)
(duplicates t)))
diff --git a/company-dabbrev.el b/company-dabbrev.el
index dad4ef5..c87aacf 100644
--- a/company-dabbrev.el
+++ b/company-dabbrev.el
@@ -199,7 +199,7 @@ This variable affects both `company-dabbrev' and
`company-dabbrev-code'."
(if downcase-p
(mapcar 'downcase words)
words)))
- (kind 'key)
+ (kind 'text)
(ignore-case company-dabbrev-ignore-case)
(duplicates t)))
diff --git a/company-ispell.el b/company-ispell.el
index 6d1a072..7a460a8 100644
--- a/company-ispell.el
+++ b/company-ispell.el
@@ -75,7 +75,7 @@ If nil, use `ispell-complete-word-dict'."
words
;; Work around issue #284.
(all-completions arg words))))
- (kind 'key)
+ (kind 'text)
(sorted t)
(ignore-case 'keep-prefix)))
diff --git a/company.el b/company.el
index 1a915aa..e42c05d 100644
--- a/company.el
+++ b/company.el
@@ -1368,6 +1368,7 @@ end of the match."
(class . "symbol-class.svg")
(color . "symbol-color.svg")
(constant . "symbol-constant.svg")
+ (constructor . "symbol-method.svg")
(enum-member . "symbol-enumerator-member.svg")
(enum . "symbol-enumerator.svg")
(event . "symbol-event.svg")
@@ -1375,7 +1376,6 @@ end of the match."
(file . "symbol-file.svg")
(folder . "folder.svg")
(interface . "symbol-interface.svg")
- (key . "symbol-key.svg")
(keyword . "symbol-keyword.svg")
(method . "symbol-method.svg")
(function . "symbol-method.svg")
@@ -1389,6 +1389,7 @@ end of the match."
(snippet . "symbol-snippet.svg")
(string . "symbol-string.svg")
(struct . "symbol-structure.svg")
+ (text . "symbol-key.svg")
(variable . "symbol-variable.svg")))
(defconst company-icons-root
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/company d53a77f: Update kind mappings to better correspond to CompletionItemKind,
ELPA Syncer <=