emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/monokai-theme 764ffa3 045/207: Add theme company annotatio


From: ELPA Syncer
Subject: [nongnu] elpa/monokai-theme 764ffa3 045/207: Add theme company annotations and template fields.
Date: Thu, 21 Oct 2021 18:07:28 -0400 (EDT)

branch: elpa/monokai-theme
commit 764ffa3955c48ae6772787367b783b7147284164
Author: ane <ane@iki.fi>
Commit: ane <ane@iki.fi>

    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

[Prev in Thread] Current Thread [Next in Thread]