branch: elpa/monokai-theme
commit 764ffa3955c48ae6772787367b783b7147284164
Author: ane <[email protected]>
Commit: ane <[email protected]>

    Add theme company annotations and template fields.
    
    If a backend provides support for company annotations (see screenshots),
    then these are colored in bright green.
    
    If a backend provides support for template fields, these are colored
    exactly like the tooltip suggestions.
---
 monokai-theme.el | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/monokai-theme.el b/monokai-theme.el
index 77a956c..3e34b42 100644
--- a/monokai-theme.el
+++ b/monokai-theme.el
@@ -1344,7 +1344,21 @@ Also affects 'linum-mode' background."
      ((,class (:background ,yellow-d))
       (,terminal-class (:background ,terminal-yellow-d))))
 
-   ;; cscope
+   ;; company-mode tooltip annnotations
+   `(company-tooltip-annotation
+     ((,class (:background ,monokai-hl
+                           :foreground ,green-l))
+      (,terminal-class (:background ,terminal-monokai-hl
+                                    :foreground ,terminal-green))))
+
+   ;; company-mode templates
+   `(company-template-field
+     ((,class (:background ,monokai-hl
+                           :foreground ,cyan))
+      (,terminal-class (:background ,terminal-monokai-hl
+                                    :foreground ,terminal-cyan))))
+
+   ;; CSCOPE
    `(cscope-file-face
      ((,class (:foreground ,green
                            :weight bold))

Reply via email to