Open fredericgiquel opened 1 year ago
Based on the code, this is expected behaviour. However, I do believe we could make them the same icon.
In some situations, both types of icons are visible at the same time. This can be confusing.
This happens especially when using consult-buffer
(and its derivatives) with marginalia
and nerd-icons-completion
.
Here is an example of using consult-project-buffer
in a ruby project, the icon is different depending if the file is currently open in a buffer or not.
Actually this is not a big issue but I think you are right. I'm adding a bug tag for this issue, and I will try to make them consistent.
The icon provided by
nerd-icons-icon-for-file
andnerd-icons-for-mode
is not the same for some languages. The problem can be highlighted by the following code:We can see the result in this screenshot:![nerd-icons](https://github.com/rainstormstudio/nerd-icons.el/assets/17704127/425069f3-6ccc-49f1-a090-7bf8aba8d463)
For Emacs Lisp, Python and Go, the icon is the same. But it differs for Ruby, Makefile and Perl. Is this situation expected?