nvim-treehopper
playground
Our great sponsors
nvim-treehopper | playground | |
---|---|---|
6 | 58 | |
400 | 780 | |
- | - | |
0.0 | 0.0 | |
3 months ago | 8 months ago | |
Lua | Lua | |
GNU General Public License v3.0 only | Apache License 2.0 |
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
-
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.
playground
-
Changing capture groups in neovim treesitter
You can also install the treesitter-playground to learn about the queries.
-
Questions about how to write a treesitter query
I always use https://github.com/nvim-treesitter/playground to write my queries
-
Looking for Tree-sitter query documentations and guides
Are you using treesitter-playground? It's a great resource for making queries.
- Question about treesitter
-
If you want to follow ThePrimeagen 0 to LSP video at https://www.youtube.com/watch?v=w7i4amO_zaE&t=624s but have difficulty following it, I made a textfile of my experience.
In your browser got to 'https://github.com/nvim-treesitter/playground'.
-
How does TJ access this "tree"?
It's nvim-treesitter's playground plugin
-
Emacs Is Not Enough
What do you think about treesitter? https://github.com/tree-sitter/tree-sitter
The idea is to sync changes in the text to a tree structure, then have all the structure manipulation functions built on top of it. See the gif here for a visual representation: https://github.com/nvim-treesitter/playground
-
Neovim config from scratch (Part I)
If you are into compilers/ASP look into https://github.com/nvim-treesitter/playground and catch ThePrimeagen's vide around this timestamp.
-
TSPlayground issue with markdown + markdown_inline
here you go
-
tree-sitter playground
Awesome, it would be nice to have such feature inside emacs, like neovim has https://github.com/nvim-treesitter/playground (right now we have tree-sitter-debug-mode, but without interactivity)
What are some alternatives?
spellsitter.nvim - Treesitter powered spellchecker
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
nvim-treesitter-context - Show code context
nvcode-color-schemes.vim - A bunch of generated colorschemes (treesitter supported)
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]
gruvbox-material - Gruvbox with Material Palette
zephyr-nvim - A dark neovim colorscheme written in lua
tree-sitter-scala - Scala grammar for tree-sitter
nvim-gps - Simple statusline component that shows what scope you are working inside
oceanic-next - Oceanic Next theme for neovim
twilight.nvim - 🌅 Twilight is a Lua plugin for Neovim 0.5 that dims inactive portions of the code you're editing using TreeSitter.
doom-one.vim - A dark colorschme for vim, ported from doom-emacs' doom-one theme.