nvim-treehopper VS vim-treesitter

Compare nvim-treehopper vs vim-treesitter and see what are their differences.

nvim-treehopper

Region selection with hints on the AST nodes of a document powered by treesitter (by mfussenegger)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
nvim-treehopper vim-treesitter
6 2
387 72
- -
0.0 0.0
2 months ago over 1 year ago
Lua Go
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.

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.

vim-treesitter

Posts with mentions or reviews of vim-treesitter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-10.
  • Vim Boss – Neovim
    3 projects | news.ycombinator.com | 10 Aug 2023
    You are stating these things as though they were established facts. But they seem to be opinions. Or do you have data to back them up?

    > People who are new to vim-style-editors and go to neovim are mainly people who would have gone to vim if neovim didn't exist.

    It seems reasonable to assume that a lot of new people would not pick up either Vim or Neovim without LSP integration and Tree-sitter.

    Vim has adopted a lot of the early features of Neovim and now Vim9 also has virtual text for rendering LSP diagnostics in the buffer[1] and there is a Vim9 LSP plugin too. But it does not at all seem likely that Vim would have these things were it not for the push from Neovim.

    Besides, it looks like Vim still does not have mature support for Tree-sitter.[2]

    > Well, the prevalent wisdom of 30+ years of FOSS has been that they're mostly bad.

    There are many famous forks from the past 30 years that hardly anybody calls bad. Some examples: Net/Free/OpenBSD, GNU/XEmacs, Open/LibreSSL. These projects allowed people with different goals or values to carry on in their own directions, while also motivating each other to pick up development pace. They have often also shared code with each other.

    [1] Which looks like this: https://sr.ht/%7Ewhynothugo/lsp_lines.nvim/

    [2] One experimental plugin I came across: https://github.com/mattn/vim-treesitter

  • 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"
    10 projects | /r/vim | 4 Oct 2021
    mattn might be cooking something: https://github.com/mattn/vim-treesitter

What are some alternatives?

When comparing nvim-treehopper and vim-treesitter you can also consider the following projects:

spellsitter.nvim - Treesitter powered spellchecker

nvim-treesitter-context - Show code context

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]

zephyr-nvim - A dark neovim colorscheme written in lua

nvim-gps - Simple statusline component that shows what scope you are working inside

twilight.nvim - 🌅 Twilight is a Lua plugin for Neovim 0.5 that dims inactive portions of the code you're editing using TreeSitter.

playground - Treesitter playground integrated into Neovim

vim-treesitter - vim async coloring experiment

iswap.nvim - Interactively select and swap function arguments, list elements, and much more. Powered by tree-sitter.

nvim-treesitter-cpp-tools - C++ Helper Snippets Using Treesitter

hop.nvim - Neovim motions on speed!