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!: redesign icons #1086

Merged
merged 2 commits into from
May 25, 2024
Merged

feat!: redesign icons #1086

merged 2 commits into from
May 25, 2024

Conversation

sxyazi
Copy link
Owner

@sxyazi sxyazi commented May 25, 2024

Goals:

  • Improve Matching Performance: The newly introduced dirs, files, and exts compile the icon rules into a HashMap at startup. This allows most icon matches to be completed with O(1) complexity, significantly enhancing matching performance.
  • Built-in nvim-web-devicons: This includes a richer and ready-to-use set of icons out of the box.
  • Enhanced Icon Styling: Each icon now supports specifying both dark and light colors (currently only fg_dark is used). In the future, the terminal color will automatically choose the appropriate color. This is added as part of Enable live update of flavor through Lua plugin API #988.
  • Enhanced is Function: The original is functionality has been reimplemented as conds to allow more complex conditional expressions, such as cond = "!dir & exec".

@sxyazi sxyazi merged commit 061faea into main May 25, 2024
6 checks passed
@sxyazi sxyazi deleted the pr-3eefc439 branch May 25, 2024 14:56
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant