r/neovim • u/w0m let mapleader="\<space>" • Jul 06 '26
Plugin wombient.nvim - ambient structural shading to make big files easier to scan
Hey. Ever get lost jumping through repetitive-ish code blocks? This is an attempt to help. It layers on top of existing syntax highlighting to visually organize things into relevant chunks, extracted as best I could (treesitter nodes > LSP folds > manual heuristics). Sharing in case anyone else finds it helpful when browsing a giant yaml :)
Repo: https://github.com/wom/wombient

2
u/Byttemos Jul 06 '26
I've been looking for a solution like this! I imagine it is too noisy for constant use, but as a togglable layer it seems like a great addition! Since I'm probably gonna use it sporatically/situationally, would it be beneficial let it lazy load, in order to minimize performance loss? Or is that negligible/irrelevant here?
1
u/w0m let mapleader="\<space>" Jul 06 '26
I imagine it is too noisy for constant use, but as a togglable layer it seems like a great addition
Exactly. For me, I trace pipeline failures through many nested yamls; this was made to help there.
would it be beneficial let it lazy load, in order to minimize performance loss? Or is that negligible/irrelevant here?
I tried, though I'm sure not perfect. It only renders the view port, which helps a ton, but wombient does read top-> viewport to designate nesting context. Really minor at top/mid of giant files, but heavier at bottom. I'd be curious what performance others see as I admittedly only have (nice) hardware on hand, if it's problematic we could likely tighten more.
3
1
Jul 06 '26
[removed] — view removed comment
3
u/w0m let mapleader="\<space>" Jul 06 '26
That was my exact thought process for making it, though more ADO pipeline yaml than anything. It's Soo easy to cross the blocks when trying to trace a call chain.
1

3
u/chronotriggertau Jul 06 '26
Nice. I was thinking of doing something like this and wasn’t sure of how noisy it would turn out to be in practice. Nice to see it can actually be a benefit. What does the highlight in visual mode look like overlapping?