Comment Comment by lancebeet There are a couple of plugins that do this.For vim: https://github.com/wellle/context.vimFor neovim (much higher performance in my experience): https://github.com/nvim-treesitter/nvim-treesitter-contextI believe there's now also a VS code plugin for the same behavior, but I don't know what it's called. parent lancebeet 3 years ago
For vim: https://github.com/wellle/context.vim
For neovim (much higher performance in my experience): https://github.com/nvim-treesitter/nvim-treesitter-context
I believe there's now also a VS code plugin for the same behavior, but I don't know what it's called.