Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange glyph icons appear. #700

Closed
joram56 opened this issue Mar 5, 2024 · 4 comments · Fixed by #716
Closed

Strange glyph icons appear. #700

joram56 opened this issue Mar 5, 2024 · 4 comments · Fixed by #716

Comments

@joram56
Copy link

joram56 commented Mar 5, 2024

Describe the bug

Following the guide of cloning the repository and opening up neovim, the setup completes, but I see strange glyphs everywhere instead of the intended icons.
image

To Reproduce

I assume this has to do with the fonts on a system, so not sure how to reproduce.

Desktop

  • OS: Ubuntu:20.04 LTS
  • Terminal: zsh

Neovim Version

0.9.1

@dam9000
Copy link
Contributor

dam9000 commented Mar 5, 2024

@joram56 you need to install one of the Nerd fonts: https://www.nerdfonts.com/
There's a huge selection, pick one, install it and then configure your terminal to use it.

@joram56
Copy link
Author

joram56 commented Mar 5, 2024

Since this is a requirement, can it be added to the "Install External Dependencies" section of the readme?

Seems like a pretty crucial step.

dam9000 added a commit to dam9000/kickstart-modular.nvim that referenced this issue Mar 5, 2024
Fixes nvim-lua#700
A Nerd Font is required by:
- mini.statusline
- Lazy plugin manager
- Neo-tree.nvim - not enabled by default however
    instructions on how to add it are in the README
@dam9000
Copy link
Contributor

dam9000 commented Mar 5, 2024

@joram56 You are right, I opened a PR: #703

dam9000 added a commit to dam9000/kickstart-modular.nvim that referenced this issue Mar 5, 2024
Fixes nvim-lua#700

This has two changes:
- lazy.nvim: use unicode instead of Nerd Font icons.
- mini.statusline: disable icons for git branch, lsp, filetype
  (filetype icons are only enabled if nvim-web-devicons is also loaded)
dam9000 added a commit to dam9000/kickstart-modular.nvim that referenced this issue Mar 6, 2024
Fixes nvim-lua#700

Add a global variable to toggle whether to use a Nerd Font or not:
`vim.g.have_nerd_font` which defaults to false.

Add a mention of Nerd Font to the README

The Nerd Font is used by:
- lazy.nvim (in :Lazy command)
- mini.statusline (git, lsp, filetype)
- Telescope (via nvim-web-devicons)
dam9000 added a commit to dam9000/kickstart-modular.nvim that referenced this issue Mar 6, 2024
Fixes nvim-lua#700

Add a global variable to toggle whether to use a Nerd Font or not:
`vim.g.have_nerd_font` which defaults to false.

Add a mention of Nerd Font to the README

The Nerd Font is used by:
- lazy.nvim (in :Lazy command)
- mini.statusline (git, lsp, filetype)
- Telescope (via nvim-web-devicons)
dam9000 added a commit to dam9000/kickstart-modular.nvim that referenced this issue Mar 6, 2024
Fixes nvim-lua#700

Add a global variable to toggle whether to use a Nerd Font or not:
`vim.g.have_nerd_font` which defaults to false.

Add a mention of Nerd Font to the README

The Nerd Font is used by:
- lazy.nvim (in :Lazy command)
- mini.statusline (git, lsp, filetype)
- Telescope (via nvim-web-devicons)
@dam9000
Copy link
Contributor

dam9000 commented Mar 6, 2024

Here is a new PR for this issue: #716
Which makes the Nerd Font an optional requirement that can be toggled via a global flag.

@feoh feoh closed this as completed in #716 Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment