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

Feat: does lualine support mini icons or is their something to do to make it support it? #1378

Open
akrram09 opened this issue Feb 14, 2025 · 3 comments
Labels
new feature New feature or feature request

Comments

@akrram09
Copy link

Requested feature

since i didn't see mentioning mini icons does lualine support it or detect it since im using mini icons for file browser

@akrram09 akrram09 added the new feature New feature or feature request label Feb 14, 2025
@andreihh
Copy link
Contributor

Looking at the code, no, it doesn't support mini.icons.

@peterjunpark
Copy link

You can use MiniIcons.mock_nvim_web_devicons()

@sejjy
Copy link

sejjy commented Mar 9, 2025

Following @peterjunpark's suggestion, here's what I did:

return {
    "nvim-lualine/lualine.nvim",
    dependencies = {
        "echasnovski/mini.icons",
    },
    config = function()
        -- mini.icons
        require("mini.icons").setup()

        -- mock nvim-web-devicons to use mini.icons instead
        require("mini.icons").mock_nvim_web_devicons()


        require("lualine").setup({
            -- your config
        })
    end,
}

EDIT:

  1. Grammar
  2. Remove "nvim-tree/nvim-web-devicons" as a dependency and keep only mini.icons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or feature request
Projects
None yet
Development

No branches or pull requests

4 participants