abo-abo / oremacs

My Emacs config
https://oremacs.com/
296 stars 33 forks source link

Some updates and fixes for using `ora-company.el` with the latest company version. #37

Open hongyi-zhao opened 3 years ago

hongyi-zhao commented 3 years ago

I recently noticed this wonderful and useful lisp snippet for company configuration. However, this configuration is written rather long ago, and should do the following update for working with the latest company version:

  1. The company-show-numbers has been renamed to company-show-quick-access, see here.
  2. As I've commented here, customize the configuration: (setq company-quick-access-keys '("0" "1" "2" "3" "4" "5" "6" "7" "8" "9")) to match the definition used here.

NB. Based on my further testing, the problem 2. is caused by company-box. If that package is not used with company, your original code works perfectly.

Regards, HY