Bekaboo / dropbar.nvim

IDE-like breadcrumbs, out of the box
GNU General Public License v3.0
896 stars 17 forks source link

fix(bar): Escape percent signs in symbol_t component names #128

Closed pynappo closed 5 months ago

pynappo commented 5 months ago

Dropbar doesn't currently escape percent signs in component names which can lead to incorrect names when rendered in the winbar:

For example, after :e \%asdf (top is dropbar, bottom is default statusline).

image

Escaping the percent signs before highlighting components seems to fix this:

image

Bekaboo commented 5 months ago

Thanks for the fix!