Closed sicr0 closed 2 years ago
By default, tagbar has a status line output that will override the default (or in this case the lightline config). This will update the status line of the tagbar window when the cursor is in the file buffer. The [Order]
is coming from the g:tagbar_sort
configuration. The tagbar status line shows the sort method, so it would be either [Order]
or [Name]
depending on that configuration.
To disable the tagbar status line, you can use this so it always uses the lightline definition.
let g:tagbar_no_status_line = 1
Thanks for the help!
I have this function to make some filenames prettier. For some reason when Tagbar is open and I'm on the file editing it appears this weird string in the filename. Anybody knows from where it comes from so that I can fix it?
This is the icon that substitutes the "__Tagbar__.1" filename (bottom right) when the cursor is on NerdTree, and it behaves as intended:![Screenshot_20211028_154155](https://user-images.githubusercontent.com/49662650/139316482-56707336-a5bb-40e9-a9e5-37fbfac83554.png)
This is when the cursor is on the file open, now on Tagbar appears "[Order] .vimrc":![Screenshot_20211028_154158](https://user-images.githubusercontent.com/49662650/139316319-a4fec3c7-45c5-4c8d-8223-a3ad743f1e8c.png)