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

Fix the problem that the data type was unexpectedly displayed in the C++ destructor's tag. #734

Closed dan0907 closed 3 years ago

dan0907 commented 3 years ago

Make some corrections to #732 Same as constructor, destructor has no data type Solve the problem shown in the figure below

擷取

raven42 commented 3 years ago

Looks good to me. I left the ~ in intentionally as I thought it added something to know that as the datatype, but then again, I don't use c++ much, so I may not be the best one to make that call. If this is the preferred appearance then it looks good.