testing}
This commit is contained in:
@@ -4,28 +4,19 @@
|
||||
|
||||
;;; Code:
|
||||
(use-package company
|
||||
:defer 5
|
||||
:defer 0.5
|
||||
:diminish
|
||||
:bind
|
||||
(:map company-mode-map
|
||||
("<backtab>" . company-complete))
|
||||
:config
|
||||
;; Global
|
||||
(setq company-idle-delay 1
|
||||
company-minimum-prefix-length 1
|
||||
:init
|
||||
(setq company-idle-delay 0.3
|
||||
company-minimum-prefix-length 2
|
||||
company-show-numbers nil
|
||||
company-tooltip-limit 20)
|
||||
|
||||
;; Facing
|
||||
(unless (face-attribute 'company-tooltip :background)
|
||||
(set-face-attribute 'company-tooltip nil :background "black" :foreground "gray40")
|
||||
(set-face-attribute 'company-tooltip-selection nil :inherit 'company-tooltip :background "gray15")
|
||||
(set-face-attribute 'company-preview nil :background "black")
|
||||
(set-face-attribute 'company-preview-common nil :inherit 'company-preview :foreground "gray40")
|
||||
(set-face-attribute 'company-scrollbar-bg nil :inherit 'company-tooltip :background "gray20")
|
||||
(set-face-attribute 'company-scrollbar-fg nil :background "gray40"))
|
||||
|
||||
;; Activating globally
|
||||
company-tooltip-limit 15
|
||||
company-dabbrev-ignore-case t
|
||||
company-dabbrev-downcase nil)
|
||||
:config
|
||||
(global-company-mode t))
|
||||
|
||||
(use-package company-quickhelp
|
||||
|
||||
Reference in New Issue
Block a user