company-fuzzy icon indicating copy to clipboard operation
company-fuzzy copied to clipboard

With Rustic, Icons and Type information disappear after changing selected completion.

Open asdfer-1234 opened this issue 10 months ago • 1 comments

Steps to reproduce

  1. Use the following minimal config as init.el
(require 'package)
(setq package-archives
      '(("gnu" . "http://elpa.gnu.org/packages/")
        ("melpa" . "https://melpa.org/packages/")))
(package-initialize)

(package-install 'rustic)
(package-install 'company)
(package-install 'company-fuzzy)
(require 'rustic)
(require 'company)
(require 'company-fuzzy)

(with-eval-after-load 'company-fuzzy
  (add-hook 'company-mode-hook 'company-fuzzy-mode))
  1. Open a rust file within a cargo project.
  2. Install lsp-mode when prompted.
  3. Initiate autocompletion with at least 2 completions available
  4. Press down arrow, changing the selection

Expected behaviour

Next completion gets selected, and icons and type informations remain.

Actual behaviour

Next completion gets selected, icons and type informations disappear. Revealing a new completion by scrolling the completion menu far enough will result in the just-revealed-by-scrolling completion entry having the icon, and scrolling another entry down will remove the icons from it. Below video demonstrates it.

https://github.com/jcs-elpa/company-fuzzy/assets/58357836/9f8a4b75-369d-4b65-83f0-f519ed1fb26b

asdfer-1234 avatar Apr 06 '24 14:04 asdfer-1234