completion.el 490 B

123456789101112131415161718192021222324
  1. ;;;
  2. ;;; Company
  3. ;;;
  4. ;; Popup completion framework
  5. (with-eval-after-load 'company
  6. (setq company-clang-insert-arguments nil)
  7. (setq company-gtags-insert-arguments nil)
  8. (setq company-semantic-insert-arguments nil)
  9. (add-to-list 'company-backends 'company-abbrev)
  10. (setq company-minimum-prefix-length 1)
  11. (setq company-idle-delay 0.0))
  12. ;;;
  13. ;;; Ivy
  14. ;;;
  15. (when (boundp #'ivy-rich-mode)
  16. (ivy-rich-mode 1))
  17. (setq ivy-height 30)
  18. (setq ivy-format-function #'ivy-format-function-line)