Closed RAV64 closed 2 years ago
@RAV64 please test version_2 branch
@glepnir same problem!
hmm but I got the init .
What can I check to try to find out the reason its missing for me?
but first_run is missed ..maybe still something wrong.
can you update and test it?
Same behaviour as in my earlier images, branch version_2, newest commit.
fixed
Still same behaviour on my nvim!
Also other methods don't get any recognition:
post your python code here
I check the pyright server report. it only return a few symbols. so other functions symbols not show in winbar.
In your outline you do get all (or most) of the symbols though.
And I think my first post is still valid since the hierarchy you can see in the picture above isn't the same we get in this picture: (because there's freemoney>first_run and not freemoney>init>first_run) Also there is the get_prices() in outline and not in Do you use treesitter for outline and lsp for winbar?
a wired problem. I will check it later.
can you provide a min python code that can reproduce ?
Did some testing and came up with this
class FreeMoney:
def __init__(self):
self.first_run = True
self.session_profit_percent = 0
maybe add more function in this class would be nice .most like your post code.
Sorry I do not understand. Above 4 lines reproduce the bug already. There seems to be couple different problems with winbar :o
because yesterday I use four lines example . I can confirm works on my local.but didn't work for you. so I think the exmaple code should be more
This doesn't work for me on the main branch or the version_2 branch. Can you confirm this works with your local setup?
class Class:
def __init__(self):
self.var1 = True
self.var2 = False
Im missing the init from the winbar when hovering var1 and var2 but it can be seen when hovering init
Your commit fixed that minimum test file but broke some other things :(
don't know why ..
Should you open this issue? Problem wasn't fixed yet.
Description
Setting up winbar doesn't show which class method I'm in.
Expected Behavior Winbar shows which class method I'm in.
Actual Behavior I can't see which method I'm in but I can see for example class>variable(which is inside a method) so it should show class>method>variable
Everything works as expected
Still everything is ok
init is missing from the chain
Details
Reproduce
```local status, lspsaga = pcall(require, "lspsaga") if not status then print("ERROR: lspsaga") return end local kind = require("lspsaga.lspkind") kind[1][2] = " " kind[2][2] = " " kind[5][2] = "ﴯ " kind[6][2] = " " kind[7][2] = "ﰠ " kind[9][2] = " " kind[11][2] = " " kind[12][2] = " " kind[13][2] = " " kind[14][2] = " " kind[15][2] = " " kind[16][2] = " " kind[20][2] = " " kind[22][2] = " " lspsaga.init_lsp_saga({ symbol_in_winbar = { in_custom = true, enable = true, separator = " > " }, max_preview_lines = 20, finder_action_keys = { open = "Environment
- nvim --version output: NVIM v0.8.0-dev-nightly-1206-g1ef84547a - Operating system: macOS Monterey M1 12.5 - lspsaga commit: latest [bd95871](https://github.com/glepnir/lspsaga.nvim/commit/bd95871d67b8942a7869f8284c151b85f653027b)