Closed arafune closed 1 year ago
I use pyright for test it works fine.
Could you test if it works well or not with python-lsp/python-lsp-ruff"? (This may be due to lspsaga's lack of support for python-lsp-ruff.) I have checked it works with pyright, but I don't use it usually.
If python-lsp-ruff does not work well, it may be because lspsaga does not support python-lsp-ruff well enough.
If you find that lspsaga does not work well with "python-lsp/python-lsp-ruff", I would like to use to Barbecue (utilyre/barbecue.nvim) instead in this regard (i.e. symbol_in_winbar = { enable = false }). I have found that barbecue works python-lsp-ruff works as well.
It may not be an lspsaga issue, but please let me know the hint.
Please see the screenshot.
On the left is the lua file editing and on the right is the snapthot of python file editing. In the lua file, the winbar region shows the current line status as a hierarchical structure. It is very clear. In python, on the other hand, this is not the case. The current line is 141, so I want "TightLayoutEngine >> init" to appear in the winbar area. If it is the lsp issue let me what I should check first?
(I usually use ruff by "python-lsp/python-lsp-ruff").