nvimdev / lspsaga.nvim

improve neovim lsp experience
MIT License
3.42k stars 286 forks source link

Add `respect_root` back under `symbol_in_winbar` #1360

Open joshuali925 opened 9 months ago

joshuali925 commented 9 months ago

Is your feature request related to a problem? Please describe. see #663. it was supported before but not anymore

Describe the solution you'd like similar to commit 5d7ad78. it got reverted in a17c975

Describe alternatives you've considered something simpler like folder_level = vim.fn.count(vim.fn.expand("%"), "/") would suffice https://github.com/nvimdev/lspsaga.nvim/blob/68d42e24295b4254fdf82a8a686fcf951f8a8d9a/lua/lspsaga/symbol/winbar.lua#L42

Additional context thanks