Skip to content

feat: add nvim-web-devicons support for note sign icon - #11

Merged
ushmz merged 1 commit into
mainfrom
feat/devicons-support
Nov 18, 2025
Merged

feat: add nvim-web-devicons support for note sign icon#11
ushmz merged 1 commit into
mainfrom
feat/devicons-support

Conversation

@ushmz

@ushmz ushmz commented Nov 18, 2025

Copy link
Copy Markdown
Owner

Summary

  • Add automatic detection of nvim-web-devicons plugin to display appropriate icons in the sign column
  • When nvim-web-devicons is available, use the comment icon
  • When not available, fall back to a middle dot (・)

This enhances the visual experience for users with Nerd Fonts while maintaining compatibility for those without.

Changes

  • Modified lua/tabi/ui/display.lua:init() to check for nvim-web-devicons availability using pcall
  • Set sign text dynamically based on plugin availability

Test plan

  • All existing tests pass (261/261)
  • luacheck passes with no warnings/errors
  • stylua formatting check passes
  • Pre-commit hooks pass

TODO

  • Add support for mini.icons as an alternative icon provider

Add automatic detection of nvim-web-devicons plugin to display
appropriate icons in the sign column. When the plugin is available,
use the note_text icon (󰈙); otherwise, fall back to a middle dot (・).

This enhances the visual experience for users with Nerd Fonts while
maintaining compatibility for those without.
@ushmz
ushmz merged commit 64972f7 into main Nov 18, 2025
4 checks passed
@ushmz
ushmz deleted the feat/devicons-support branch November 18, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant