After restarting Emacs, company-mode doesn't provide completions until I restart it.
I have `global-company-mode` set to `t` in my init.el file.
After restarting, if I run `M-x global-company-mode` the minibuffer responds "global company mode disabled"
Then when I run `M-x global-company-mode` again the minibuffer responds "global company mode enabled" which seems to indicate global-company-mode is enabled when I restart Emacs, but it just doesn't give completions.
Once company-mode is restarted, then it runs exactly as expected.
This isn't a big deal because I don't restart Emacs that often, but it's annoying, and I can't figure out what is wrong.
Any suggestions?
Below are the relevant parts of my init.el file. The entire file can be found [here](https://github.com/metacontent/emacs.d/blob/main/init.el).
Edit: This is fixed now.
(use-package company
:ensure t
:bind
(:map company-active-map
("C-n" . company-select-next)
("C-p" . company-select-previous))
:config
(setq company-show-quick-access 'left)
(setq company-backends '((company-capf company-dabbrev-code)))
(setq company-tooltip-flip-when-above t)
:custom
;;use M-[asdfg] keys for quick completions
(company-quick-access-keys '("a" "s" "d" "f" "g"))
(company-quick-access-modifier 'meta)
:custom-face
;; set the face manually to fixed-width
(company-tooltip ((t (:family "Source Code Pro"))))
:hook (prog-mode . company-mode))