32 lines
748 B
EmacsLisp
32 lines
748 B
EmacsLisp
;;; init-company.el --- .Emacs Configuration -*- lexical-binding: t -*-
|
|
;;; Commentary:
|
|
;; Company is a framework for text completion in Emacs.
|
|
|
|
;;; Code:
|
|
(use-package company
|
|
:defer 0.5
|
|
:diminish
|
|
:bind
|
|
(:map company-mode-map
|
|
("<backtab>" . company-complete))
|
|
:init
|
|
(setq company-idle-delay 0.3
|
|
company-minimum-prefix-length 2
|
|
company-show-numbers nil
|
|
company-tooltip-limit 15
|
|
company-dabbrev-ignore-case t
|
|
company-dabbrev-downcase nil)
|
|
:config
|
|
(global-company-mode t))
|
|
|
|
(use-package company-quickhelp
|
|
:after company
|
|
:config
|
|
(company-quickhelp-mode 1))
|
|
|
|
(provide 'init-company)
|
|
;; Local Variables:
|
|
;; byte-compile-warnings: (not free-vars)
|
|
;; End:
|
|
;;; init-company.el ends here
|