ldelossa / litee-calltree.nvim

Neovim's missing call hierarchy UI
131 stars 9 forks source link

Some questions. #12

Closed ravenxrz closed 2 years ago

ravenxrz commented 2 years ago

Thank you for this amazing plugin.

Here are some questions after I used it for a while.

The first question is:

After I jump to a function symbol, my cursor color is lost.

Before calltree:

image

After jumping to another function using calltree, I lost my black cursor.

image

Maybe it's a bug of the theme I am using, but I encountered this problem both on onedark theme and darkplus theme.

The second question is:

The scenario is I opened the calltree poup window, then I used "ctrl + w + l/r" to jump to source code. But how can I jump back to calltree window agian? It seems like the calltree window was stuck here forever.

image

ravenxrz commented 2 years ago

The first question may be related to the windows en(I use wsl2 in the windows terminal and alacritty).

I did four tests:

  1. WSL in windows termina/alacritty : have this problem.
  2. Virtual machine on Windows system, using gnome-shell, does not have this problem.
  3. Virtual machine on Windows system, sshed in the windows terminal, have this problem.
  4. Physical machine, does not have this problem.
ravenxrz commented 2 years ago

Finally, I find the 'hide_cursor' option is useful. Set it to false solve the first problem.

ldelossa commented 2 years ago

Hey!

hide_cursor option seems to be buggy. Ive been thinking of just removing it all together.

As far as your second question, you can always jump back into the "calltree" window by using "LTPopOutCalltree" if the call tree is opened in a PopOut panel, or "LTOpenToCalltree" if its in the side panel

ravenxrz commented 2 years ago

LTPopOutCalltree

Okk, I get it.