akinsho / bufferline.nvim

A snazzy bufferline for Neovim
GNU General Public License v3.0
3.5k stars 195 forks source link

Offset text highlight #92

Closed luissolanodev closed 3 years ago

luissolanodev commented 3 years ago

Hey! thanks for developing this plugin.

I'm wondering if I could set the highlight of the text in the 'offset' config option to show it in cursive and bold as with the buffer active text. I tried to see the code but looks a bit confusing to me. ¡Thanks in advance!

akinsho commented 3 years ago

@LuisxSullivaN to set the offset's highlight you have to pass in a highlight group to use. In your highlight group you need to set the gui attribute to include italic. Have a read through :h highlight-gui to get an understanding how that works in vim

luissolanodev commented 3 years ago

Thanks again. As you mentioned, I got it working by creating a new highlight group with :highlight FileExplorer gui=bold,italic image

siduck commented 3 years ago

@LuisxSullivaN which font?

luissolanodev commented 3 years ago

@siduck76 it's Victor Mono, you can find it on github