I am setting company-dabbrev variables
(setq company-dabbrev-other-buffers 'all)
(setq company-dabbrev-ignore-case 'keep-prefix)
The documentation for the variables, says
If ‘all’, search all other buffers, except the ignored ones.
I find the documentation confusing because nowhere does it say that on should use 'all rather than all or "all".