Closed allenryb closed 4 years ago
Hello @allenryb, does it always occurs or under certain conditions ? If you are scrolling the list of candidates, does it still occurs with the 1st line ?
Could you send your configuration for company-box
? Or if your full configuration is public maybe send a link to it ?
It always occurs. If I scroll the list of candidates, it still occurs. Moreover if I scroll back, the previous candidates will miss the fisrt character.
My configuration about company-mode
and company-box
is
(use-package company
:ensure t
:diminish company-mode
:config
(add-hook 'after-init-hook 'global-company-mode)
(setq company-show-numbers t)
(setq company-dabbrev-downcase nil)
(setq company-dabbrev-ignore-case nil)
(setq company-idle-delay 0))
(use-package company-box
:ensure t
:hook (company-mode . company-box-mode)
:init
(setq company-box-doc-enable nil))
@allenryb https://github.com/sebastiencs/company-box/commit/4265eaf9e4d29f8b93e125fa807e2085e8e0ea3b should fix your issue. Can you please confirm
It's fixed. Thanks!
The first character of the first word in a line is missing in the first candidate of company-box. For example, the first company candidate of
use
will be listed asse
and the number "1" is missed: This problem only appear at the first word of a line.Although the completion is right, it's annoying. May I ask how to fix this? My emacs version: 27.1 Operating system: Ubuntu 20.04