[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 7d9d72c 33/38: Set tooltip background color for terminals
From: |
Dmitry Gutov |
Subject: |
[elpa] master 7d9d72c 33/38: Set tooltip background color for terminals with less than 88 colors |
Date: |
Sat, 25 Jul 2020 19:51:17 -0400 (EDT) |
branch: master
commit 7d9d72c7b41ec0b5e455165cd90ce8b29fbb8217
Author: Kasumi Hanazuki <kasumi@rollingapple.net>
Commit: Kasumi Hanazuki <kasumi@rollingapple.net>
Set tooltip background color for terminals with less than 88 colors
The current implementation specifies the foreground color for tooltips to
be black
but does not gives the background color on terminals with less color
capability,
which causes invisible text when the background is black on <88-color
terminals.
This patch fixes the problem by giving a default background color.
This change does not affect >=88-color terminals.
---
company.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/company.el b/company.el
index 428fc32..d0e9a72 100644
--- a/company.el
+++ b/company.el
@@ -90,7 +90,7 @@ attention to case differences."
:group 'faces)
(defface company-tooltip
- '((default :foreground "black")
+ '((default :foreground "black" :background "yellow")
(((class color) (min-colors 88) (background light))
(:background "cornsilk"))
(((class color) (min-colors 88) (background dark))
- [elpa] master 6cf5169 23/38: Update copyright years, (continued)
- [elpa] master 6cf5169 23/38: Update copyright years, Dmitry Gutov, 2020/07/25
- [elpa] master c59c85b 24/38: Merge branch 'master' into company-tng-with-post-completion, Dmitry Gutov, 2020/07/25
- [elpa] master e93b3dc 30/38: [company-files] Make post-completion command a dedicated function, Dmitry Gutov, 2020/07/25
- [elpa] master 1c7a872 31/38: Merge pull request #983 from qhuyduong/make-post-completion-command-dedicated-function, Dmitry Gutov, 2020/07/25
- [elpa] master 6a39f31 38/38: Merge commit '656ad10670512e135a0a5881f127bb7a789ef8ca' from company, Dmitry Gutov, 2020/07/25
- [elpa] master 955f80e 19/38: company-doc-buffer: Make sure to reset the major mode, Dmitry Gutov, 2020/07/25
- [elpa] master db0596b 26/38: Merge branch 'master' of github.com:company-mode/company-mode, Dmitry Gutov, 2020/07/25
- [elpa] master 1f56bec 36/38: company-diag: Print out completion-at-point-functions too, Dmitry Gutov, 2020/07/25
- [elpa] master 6333fc4 29/38: Mention when, Dmitry Gutov, 2020/07/25
- [elpa] master f24b794 32/38: Make sure the error text is present before trying to use it, Dmitry Gutov, 2020/07/25
- [elpa] master 7d9d72c 33/38: Set tooltip background color for terminals with less than 88 colors,
Dmitry Gutov <=
- [elpa] master 8ec972b 17/38: Defer company-reformat a little, Dmitry Gutov, 2020/07/25
- [elpa] master 61ddd9a 21/38: Merge pull request #968 from condy0919/master, Dmitry Gutov, 2020/07/25
- [elpa] master fdde3d1 27/38: Merge pull request #946 from company-mode/company-tng-with-post-completion, Dmitry Gutov, 2020/07/25
- [elpa] master 21f3b0f 28/38: Revert "company-input-noop still seems to be needed in the terminal", Dmitry Gutov, 2020/07/25
- [elpa] master b94ab88 34/38: Merge pull request #986 from hanazuki/default-tooltip-bg, Dmitry Gutov, 2020/07/25
- [elpa] master 36e650a 35/38: Fix company-tooltip definition in Emacs < 28, Dmitry Gutov, 2020/07/25
- [elpa] master 656ad10 37/38: Release 0.9.13, Dmitry Gutov, 2020/07/25