Code Monkey home page Code Monkey logo

nerd-icons-corfu's Issues

Corfu strange cutoff

Only when I'm using icons the completion popup seems to have a strange margin on the bottom, like the icons seem to add a padding corfu isn't aware.
image

No icons in Lisp mode

Is there a way to enable icons in Lisp mode? Or generically is there a way to configure support for more modes?

A delay on first open of corfu drop-down list of completions

Hi,

After fresh emacs restart, I feel delay on first TAB. I see empty corfu's dropdown and after some delay it fills with content. After that it works fast without any delay. May be do I need to preload nerd font somehow? Here my config:

(use-package nerd-icons-corfu
  :after corfu
  :config
  (add-to-list 'corfu-margin-formatters #'nerd-icons-corfu-formatter))

icons are displayed incorrectedly

I am using the latest nerd-icons-corfu with Emacs 29.1 on Windows 11, and got this issue. The screenshot is below.

nerd-icons-font-family is "Symbols Nerd Font Mono".

image

The root cause is here:

(when-let ((extra-face (plist-get icon-entry :face)))
(put-text-property 0 3 'face extra-face str))

Right-side truncation

The right-side of my corfu popup contains truncated text.

emacs-29.1 on macOS
Latest corfu, latest nerd-icons-corfu

corfu-margin-formatters is set to (nerd-icons-corfu-formatter)

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.