nvim-treesitter-context
context.vim
Our great sponsors
nvim-treesitter-context | context.vim | |
---|---|---|
33 | 14 | |
2,117 | 1,215 | |
6.1% | - | |
8.8 | 1.5 | |
6 days ago | 10 days ago | |
Lua | Vim Script | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nvim-treesitter-context
-
TreePin! A prototype of my plugin for pinning parts of code to the edges of the screen (Apologies for the GIF artifacts)
Very cool! Sort of reminds me of treesitter-context. Any chance for compatibility? An example could be you either would disable context when something is pinned or somehow displace it other, depending on which is "on top" could be neat.
-
[New plugin] Introducing dropbar.nvim, an out-of-the-box, IDE-like winbar with drop-down menu support and multiple backends
It's for context and navigation, not completions. So it wouldn't replace nvim-cmp. It probably doesn't replace anything you already have unless you are already using a winbar. It combines features of treesitter-context, symbols-outline, and a file navigator but in a different presentation.
-
Plugin for virtual text around parantheses ?
Not quite the same thing, but arguably a better alternative : https://github.com/nvim-treesitter/nvim-treesitter-context
-
Looking for some kinda specific plugins for visibility
For 2: https://github.com/nvim-treesitter/nvim-treesitter-context
-
Please inform me of the plugin(s) enabling these two features
I really like nvim-treesitter-context as an alternative for 1.
-
I’m a vscode user who wants to migrate to neovim but still can’t get all the features I want, I’m trying out lazyvim, which plug-ins should I use?
nvim-treesitter-context implements "sticky scroll" where, depending on where your cursor is placed, the top lines of your window will be replaced by the otherwise offscreen lines that declare what function you're in (e.g function test(...), the line that begins the current class (e.g. public class Student implements Person {), the variable name of the current table (e.g. local planets = {), etc.
- I have reached Vim nirvana
-
Anything like Blockman in Neovim?
Very different in my eyes, but I love nvim-treesitter-context. Definitely another tool in helping the brain parse code -- I think of it as helping with long range context, whereas blockman helps me focus on local context and makes scoping relationships more subconciously available.
-
Plugin to show current function?
You are looking for this: https://github.com/nvim-treesitter/nvim-treesitter-context
-
what is the plugin for showing the function context on top of buffer?
I have seen https://github.com/nvim-treesitter/nvim-treesitter-context is recommended, and it works similar. But the way the context info are displayed in AstroNvim is much nicer
context.vim
- What's this type of plugin called? (it shows the structure of code)
-
I have reached Vim nirvana
There are a couple of plugins that do this.
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.
-
Plugin to show current function?
I think that something like this https://github.com/wellle/context.vim is what you are looking for
-
Scrolloff & start/end of file
https://github.com/wellle/context.vim does something very similar to what you are asking for. You can probably tweak it according to your needs.
-
Equivalent of context.vim plugin for vscode
I've recently started using vscode after using vim for many years, and one thing that I miss is the context.vim plugin which shows the function signature at the top of the screen when you scroll.
- Would love to see this 'sticky function header" as an extension in VScode
-
Is there a plugin that does something similar to this new feature in xcode ?
context.vim for those not using treesitter
- Get a symbol's context
- Any plugin to always see current function signature?
-
Package like context.vim
I ran across context.vim https://github.com/wellle/context.vim, which is basically a sticky header, where your cursor is.
What are some alternatives?
nvim-treesitter-textobjects
targets.vim - Vim plugin that provides additional text objects
nvim-treehopper - Region selection with hints on the AST nodes of a document powered by treesitter
vim-lineletters - because letters are easier to touch type than numbers
nvim-gps - Simple statusline component that shows what scope you are working inside
django-plus.vim - :guitar: Improvements to the handling of Django related files in Vim
format.nvim - A wrapper around Neovims native LSP formatting. [Moved to: https://github.com/lukas-reineke/lsp-format.nvim]
vim-pythonsense - A Vim plugin that provides text objects and motions for Python classes, methods, functions, and doc strings.
indent-blankline.nvim - Indent guides for Neovim
vim-js-file-import - Import/require files in javascript and typescript with single button!
dein.vim - :zap: Dark powered Vim/Neovim plugin manager
topsy.el - Simple sticky header showing definition beyond top of window