nvim-gps
Simple statusline component that shows what scope you are working inside (by SmiteshP)
nvim-treehopper
Region selection with hints on the AST nodes of a document powered by treesitter (by mfussenegger)
nvim-gps | nvim-treehopper | |
---|---|---|
19 | 6 | |
506 | 400 | |
- | - | |
8.7 | 0.0 | |
almost 2 years ago | 4 months ago | |
Scheme | Lua | |
Apache License 2.0 | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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-gps
Posts with mentions or reviews of nvim-gps.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-14.
- what plugin added the breadcrumb/context info to the winbar?
- How do I get this little tree like hierarchy of the code on the top?
-
Any way to get something like this in coc?
I've been using winbar.nvim with nvim-gps which depends on treesitter. Unfortunately it's been archived/deprecated but still works fine.
- How can I have a symbol line like this? I saw that there is symbols-outline.nvim, but it opens a sidebar.
- Plugin suggestion
-
Displaying code context using LSP is much slower than Treesitter. Maybe bring back nvim-gps?
With the deprecation of nvim-gps we are left with LSP's more accurate code context parser nvim-navic or lspsaga. I however only use LSP for like 5 languages as opposed to treesitter since it's just easier to install all language parser
-
Trying to create a LunarVim like IDE setup, called DeathVim
and nvim-navic or in this projects case it is its predecessor - nvim-gps
- Add colors to Gps-Nvim ?
-
Is there any statusline framework plugin that allows dynamic truncation of each component?
I currently use feline.nvim as a framework for creating my custom statusline, and before that I was using galaxyline.nvim. A feature that I would really like though is for each section of the statusline to able to dynamically resize based on the window size, and dissappear if the window gets narrow enough, based on some priority that I give them and some truncation rule. By truncation I mean that for instance a file path could get shortened by pathshorten(), the filetype indicator would only display the devicon and not the filetype name, nvim-gps would only use a depth of 1, etc... This behaviour would be defined by the user, but the framework would calculate which components to truncate in order to fit as many as possible in the priority that the user has chosen for each component.
-
Could this be solved currently using nvim-gps and Treesitter?
I've added a pull request to support json https://github.com/SmiteshP/nvim-gps/pull/41
nvim-treehopper
Posts with mentions or reviews of nvim-treehopper.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-18.
-
Differences in setting keymaps in lua vs map command
I am trying to set up nvim-treehopper and duplicating the suggested keymaps in a lua config.
-
Neovim quick way to indent multiple lines
Take a look at nvim-treehopper (https://github.com/mfussenegger/nvim-treehopper), a tree-sitter based plugin that lets you select regions of code
-
Leaps and (no) bounds - extend leap.nvim with custom motions, callbacks, Tree-sitter, and more
This copies the idea of nvim-treehopper. Just a work in progress hack (pretty usable though), but planning to make a full-fledged plugin, if someone else won't do it :) (Needless to say, my gists can be considered unlicensed, do whatever you want with them.)
-
The most amazing built-in feature nobody ever mentions: smart select!
I also suggest taking a look at this one : mfussenegger/nvim-treehopper
- Bram: "Neovim has included Treesitter, which is an implementation of this. Once Vim9 is done I'll have a look at whether it is a good choice to include with Vim"
-
Plugin: treesitter-unit
https://github.com/mfussenegger/nvim-ts-hint-textobject does what you are proposing.
What are some alternatives?
When comparing nvim-gps and nvim-treehopper you can also consider the following projects:
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
spellsitter.nvim - Treesitter powered spellchecker
nvim-treesitter-context - Show code context
refactoring.nvim - The Refactoring library based off the Refactoring book by Martin Fowler
NvChad - An attempt to make neovim cli as functional as an IDE while being very beautiful , blazing fast. [Moved to: https://github.com/NvChad/NvChad]
twilight.nvim - 🌅 Twilight is a Lua plugin for Neovim 0.5 that dims inactive portions of the code you're editing using TreeSitter.
zephyr-nvim - A dark neovim colorscheme written in lua
playground - Treesitter playground integrated into Neovim
nvim-gps vs NvChad
nvim-treehopper vs spellsitter.nvim
nvim-gps vs nvim-treesitter-context
nvim-treehopper vs nvim-treesitter-context
nvim-gps vs refactoring.nvim
nvim-treehopper vs NvChad
nvim-gps vs twilight.nvim
nvim-treehopper vs zephyr-nvim
nvim-gps vs zephyr-nvim
nvim-treehopper vs twilight.nvim
nvim-gps vs playground
nvim-treehopper vs playground