Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion lua/tabi/ui/display.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@ local SIGN_NAME = "TabiNote"

--- Initialize display (set up signs)
function M.init()
-- Check if nvim-web-devicons is available
local has_devicons, _ = pcall(require, "nvim-web-devicons")

-- Use icon if devicons is available, otherwise use middle dot
-- 󱞂  󰟷 󰟶
local sign_text = has_devicons and "" or "・"

-- Define sign
vim.fn.sign_define(SIGN_NAME, {
text = "", -- Use icon or fallback
text = sign_text,
texthl = "TabiNoteSign",
numhl = "TabiLineNr",
})
Expand Down