branch: externals/company
commit 33db4e497995691003a64a4141127bfebb790d7b
Author: Mohsin Kaleem <mohk...@kisara.moe>
Commit: Mohsin Kaleem <mohk...@kisara.moe>

    (margin): Remove propertize call in text margin function
---
 company.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/company.el b/company.el
index 2da714f..5b75812 100644
--- a/company.el
+++ b/company.el
@@ -1482,10 +1482,7 @@ end of the match."
   (when-let ((candidate candidate)
              (kind (company-call-backend 'kind candidate))
              (icon (alist-get kind company-text-icons-mapping)))
-    (propertize icon
-                'face (if selected
-                          'company-tooltip-selection
-                        'company-tooltip))))
+    icon))
 
 (defun company-detect-icons-margin (candidate selected)
   "Margin function which picks from vscodes icons or unicode icons

Reply via email to