utilyre / barbecue.nvim

Visual Studio Code inspired breadcrumbs plugin for the Neovim editor
MIT License
807 stars 35 forks source link

is there a way to make the separators have colours? #5

Closed Rishabh672003 closed 2 years ago

Rishabh672003 commented 2 years ago

this is how it looks like now - image

my question is - is there a way to add any colors to it? cant seem to find a way to do that i tried adding other icons, just white would also be fine like what colour of the ligature is.

for example like this (its from lunarvim) - image

Btw love this plugin

Rishabh672003 commented 2 years ago

i guess i want a way to modify the default highlights https://github.com/utilyre/barbecue.nvim/blob/63ab05d90e6844d9e5723bb575e9355f58b357ff/lua/barbecue/state.lua#L128

utilyre commented 2 years ago

that dimmed color is actually a fallback in case you don't have NavicSeparator highlight defined. changing its color is as easy as

vim.api.nvim_set_hl(0, "NavicSeparator", { link = "Normal" })

or with specific hex color

vim.api.nvim_set_hl(0, "NavicSeparator", { fg = "#ffffff" })
Rishabh672003 commented 2 years ago

oh thanks that solves my issue