nvimdev / nvimdev/lspsaga.nvim

Add `respect_root` back under `symbol_in_winbar`

Open
#1,360 0 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Lua
Stars
3.8k
Forks
308
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with lua/lspsaga/symbol/winbar.lua at the referenced line, then compare commits 5d7ad78 and a17c975 to understand the removed respect_root behavior. Restore the option under symbol_in_winbar and verify that the winbar respects the configured root while displaying symbols.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.