SmiteshP / nvim-navic

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

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

Closed tmummert closed 11 months ago

tmummert commented 1 year 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 12 months ago

Right now, its not possible to have it like that

SmiteshP commented 12 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 11 months ago

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