branch: externals/company
commit f234bc1784a4273ccffffc0863aaf171c923bbea
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    company-tooltip-search: Inherit from the 'isearch' face
    
    Makes it more noticeable with the default theme.
---
 NEWS.md    | 1 +
 company.el | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/NEWS.md b/NEWS.md
index 6452909054..8c6a755708 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -2,6 +2,7 @@
 
 # Next
 
+* The `search` faces in the popup inherit from `isearch`.
 * New option `company-global-minibuffer` for completion during 
`eval-expression`
   (`M-:`). The "pseudo-tooltip" frontend is not supported by this feature,
   `company-childframe` is recommended instead.
diff --git a/company.el b/company.el
index 2fc715b7ed..37c956d9eb 100644
--- a/company.el
+++ b/company.el
@@ -98,11 +98,11 @@
   "Face used for the deprecated items.")
 
 (defface company-tooltip-search
-  '((default :inherit highlight))
+  '((default :inherit isearch))
   "Face used for the search string in the tooltip.")
 
 (defface company-tooltip-search-selection
-  '((default :inherit highlight))
+  '((default :inherit isearch))
   "Face used for the search string inside the selection in the tooltip.")
 
 (defface company-tooltip-mouse
@@ -174,7 +174,7 @@
   "Face used for the common part of the completion preview.")
 
 (defface company-preview-search
-  '((default :inherit company-tooltip-common-selection))
+  '((default :inherit isearch))
   "Face used for the search string in the completion preview.")
 
 (defface company-echo nil

Reply via email to