SmiteshP / nvim-navic

Simple winbar/statusline plugin that shows your current code context
Apache License 2.0
1.35k stars 49 forks source link

[Question] Match [NavicText] with the corresponding [NavicIcons*] highlight? #138

Closed tmummert closed 6 months ago

tmummert commented 8 months ago

I would like to display the different icons and the corresponding text in the same color.

Is it possible to link NavicText to the matching NavicIcons* highlight at each occurrence?

SmiteshP commented 7 months ago

Right now, its not possible to have it like that

SmiteshP commented 7 months ago

You could make use of the get_data() function and get the raw data and create output to use highlights like you wish.

tmummert commented 6 months ago

Thank you for the hint. I hope that my very basic skills will be sufficient.