   :init
   (after! abbrev (diminish 'abbrev-mode "A"))
   (setq company-idle-delay nil
-        company-minimum-prefix-length 1
-        company-show-numbers nil
-        company-tooltip-limit 20
+        company-minimum-prefix-length 2
+        company-tooltip-limit 10
         company-dabbrev-downcase nil
         company-dabbrev-ignore-case nil
+        company-dabbrev-code-other-buffers t
         company-tooltip-align-annotations t
         company-require-match 'never
         company-global-modes '(not eshell-mode comint-mode erc-mode message-mode help-mode)


  :config
  (require 'company-statistics)
  (require 'company-quickhelp)
  (setq company-quickhelp-delay nil
        ;; Rewrite evil-complete to use company-dabbrev
        company-dabbrev-code-other-buffers t
        evil-complete-next-func      'narf/company-evil-complete-next
        evil-complete-previous-func  'narf/company-evil-complete-previous)

  ;; TODO Restore company-dict

  (define-key company-active-map "\C-w" nil)

  (global-company-mode +1)
  (company-statistics-mode +1))

(provide 'core-company)
;;; core-company.el ends here
