Browse Source

Change company-mode color

master
10sr 5 years ago
parent
commit
01fd3517fb
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      emacs.el

+ 17
- 0
emacs.el View File

@@ -1047,6 +1047,23 @@ found, otherwise returns nil."
(define-key company-active-map (kbd "C-s") 'company-filter-candidates) (define-key company-active-map (kbd "C-s") 'company-filter-candidates)
(define-key company-active-map (kbd "C-i") 'company-complete-selection) (define-key company-active-map (kbd "C-i") 'company-complete-selection)
(define-key company-active-map (kbd "C-f") 'company-complete-selection) (define-key company-active-map (kbd "C-f") 'company-complete-selection)

;; https://qiita.com/syohex/items/8d21d7422f14e9b53b17
(set-face-attribute 'company-tooltip nil
:foreground "black" :background "lightgrey")
(set-face-attribute 'company-tooltip-common nil
:foreground "black" :background "lightgrey")
(set-face-attribute 'company-tooltip-common-selection nil
:foreground "white" :background "steelblue")
(set-face-attribute 'company-tooltip-selection nil
:foreground "black" :background "steelblue")
(set-face-attribute 'company-preview-common nil
:background nil :foreground "lightgrey" :underline t)
(set-face-attribute 'company-scrollbar-fg nil
:background "orange")
(set-face-attribute 'company-scrollbar-bg nil
:background "gray40")

) )






Loading…
Cancel
Save