We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there currently a way to disable the use of the predefined icons? I was thinking maybe it can be an option during the setup.
require('nvim-web-devicons').setup { override = {}, -- we define all our icons here predefined = false -- use none of the predefined icons }
The reason for this is so that I can define a universal default icon for every single filetype. Can you suggest a better approach perhaps?
The text was updated successfully, but these errors were encountered:
not sure why you'd want to do this though :) but it could be done somehow like this:
local icons = require'nvim-web-devicons'.get_icons() local new_icons = {} for ft, i in pairs(icons) do new_icons[ft] = { icon = "X", color = "#ffffff", cterm_color = 255, name = i.name } end require'nvim-web-devicons'.set_icon(new_icons)
or something like that
Sorry, something went wrong.
Closing, feel free to reopen if provided solution is not adequate.
No branches or pull requests
Is there currently a way to disable the use of the predefined icons? I was thinking maybe it can be an option during the setup.
The reason for this is so that I can define a universal default icon for every single filetype. Can you suggest a better approach perhaps?
The text was updated successfully, but these errors were encountered: