The question is really simple, when i run TagbarToggle i want the cursorline option to be True in that window (if it is in the "main" window).
something like:
if &cursorline
call set_cursorline_in_tagbar()
endif
Of course i could just set it manually every time, but that's just not the Vim way.
It looks like TagBar sets its own
FileType
:tagbar
, this could be used in anautocmd
:Another option would be to set a custom highlighting for TagBar's own syntax groups that fits your need, as shown in the documentation.