preservim / tagbar

Vim plugin that displays tags in a window, ordered by scope
https://preservim.github.io/tagbar
Other
6.13k stars 487 forks source link

Improve tag highlighting and signature matching #735

Closed dan0907 closed 3 years ago

dan0907 commented 3 years ago
  1. Correctly highlight tags that contain spaces.
  2. Match function signature on special case: operator()(...).

e.g. sig tag

Shane-XB-Qian commented 3 years ago

@dan0907 @raven42 E488: Trailing characters: //en.wikipedia.org/wiki/foo)\m\ze/: match TagbarHighlight /^\%28l\s*[▼▶ ][-+# ]\?\zs\VSource: [Wikipedia](https://en.wikipedia.org/wiki/foo)\m\ze/

raven42 commented 3 years ago

@dan0907 Would you be able to look into this? My knowledge of highlight search patterns is quite limited. If need be we can revert these changes to restore original functionality until this can be addressed.