emacs-lsp / emacs-ccls

Emacs client for ccls, a C/C++ language server
200 stars 29 forks source link

imenu: show static member variable instead of function #102

Open vohv opened 4 years ago

vohv commented 4 years ago

When I use imenu, emacs displays the static member variables of the function instead of the function. only lsp-mode + emacs-ccls has this problem.

I tried the following schemes are all good:

image image

I don't know if this is the problem of lsp-mode or emacs-ccls.

If my function has many static member variables, positioning the function will become very difficult.