Emacs config utilizing prelude as a base
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
914 B

  1. # Prelude Company
  2. !!! Note
  3. This module is enabled by default.
  4. [company](https://company-mode.github.io/) is a completion library.
  5. This module simply provides some reasonable defaults for it and enables `company-mode`:
  6. ```
  7. (setq company-idle-delay 0.5)
  8. (setq company-show-numbers t)
  9. (setq company-tooltip-limit 10)
  10. (setq company-minimum-prefix-length 2)
  11. (setq company-tooltip-align-annotations t)
  12. ;; invert the navigation direction if the the completion popup-isearch-match
  13. ;; is displayed on top (happens near the bottom of windows)
  14. (setq company-tooltip-flip-when-above t)
  15. (global-company-mode 1)
  16. ```
  17. You can adjust the configuration further in your personal config.
  18. `company-mode` has [many extensions](https://github.com/company-mode/company-mode/wiki/Third-Party-Packages)
  19. for various programming languages.
  20. Some of Prelude's modules will install and enable the relevant extensions when necessary.