syntax-tree-surfer
indent-blankline.nvim
Our great sponsors
syntax-tree-surfer | indent-blankline.nvim | |
---|---|---|
10 | 71 | |
450 | 3,643 | |
- | - | |
5.4 | 8.5 | |
about 2 months ago | 15 days ago | |
Lua | Lua | |
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.
syntax-tree-surfer
-
Select text using Treesitter Queries and start typing right away with SelectEase.nvim
Your config, tree-surfer or nvim-treesitter-textobjects follow nodes using the syntax tree. Go to parent / child / next siblings ect....
-
mini.move - Move any selection in any direction
Cool stuff. It might be worth adding this one to a comparison/alternatives list: https://github.com/ziontee113/syntax-tree-surfer
-
What's the one plugin you'd love to see?
The closest to "treesitter-powered jumps" plugin I know is ziontee113/syntax-tree-surfer. Don't use it personally, but video demos look cool.
-
Ask HN: S/W development text editor have feature colorizing every iteration?
treesitter / neovim:
different code block indicators styles : https://github.com/lukas-reineke/indent-blankline.nvim#with-...
collapse / expand / navigate between code blocks : https://github.com/stevearc/aerial.nvim
not exactly colorize, but can customize to just show iteration / loop processes : https://github.com/ziontee113/syntax-tree-surfer
- Syntax Tree Surfer now supports Dot Repeat for Swapping nodes in Normal Mode
-
What do you use treesitter for other than highlighting?
I personally use it for an outline window for my code (aerial.nvim) and quick-selecting code blocks (nvim-treesitter-textsubjects). I've also seen but not used syntax-tree-surfer for code navigation/manipulation and refactoring.nvim for performing refactoring operations. You could also check out awesome-neovim and ctrl-f for "treesitter", though there are many other plugins out there either not on that list or that don't explicitly mention treesitter in their description.
-
How Neovim helped me to grow up as a developer, and a person.
I published syntax-tree-surfer a while ago didn't know that anyone will be interested to use it. Turns out people do enjoy what I do. When I was in school I didn't feel like I mattered to other people. Now I feel like I do, there are people out there that cares about me, giving me help, advices, etc.. It's just really amazing!
-
tree-climber.nvim - climb around the treesitter tree
I admit, the functionality is blatantly similar to syntax-tree-surfer, but tree-climber should work also in files with comments as well (unfortunately, I could not make syntax-tree-surfer work in my neovim setup at all).
-
Extracting JSX into React component
You can use syntax-tree-surfer to select the parent.
indent-blankline.nvim
-
Use the builtin `listchars` option to implement minimalistic indent guides
Compared to the feature-rich plugins, this simple implementation has many drawbacks, such as not displaying indent guides on empty lines. I think its only advantage might be its extreme simplicity. Yes, I pursue minimalism so I wrote this piece of code. For a better (maybe best) and more comprehensive experience, please check indent-blankline.nvim.
- Looking For A Plugin For Indentations
-
Treesitter Error: attempt to index local 'query' (a nil value)
i think it's indent-blankline
- Is there a way to get these vertical code boundaries (vertical lines showing blocks of code) like in vscode ?
-
Looking for some kinda specific plugins for visibility
https://github.com/lukas-reineke/indent-blankline.nvim complements further.
-
Color scheme changes when rust_analyzer finishes
I think he meant the indent guides? In which case the best plugin is https://github.com/lukas-reineke/indent-blankline.nvim
-
How to add code block margin line in neovim?
You are looking for the indent-blankline plugin
-
darkrose.nvim - a low-contrast colorscheme based on rose colors for dark theme lovers
I use indent-blankline.nvim for them, which is also supported by my plugin.
-
kui.nvim - an experiment into a real graphical framework, with kitty & cairo
Looking at the screenshots, https://github.com/lukas-reineke/indent-blankline.nvim is not that far off (look at last screenshot in readme). It seems it could be extended to have an underline under the last line of the indent block and also a line on the right side in the same way the line on the left side is drawn.
-
Trouble detecting shiftwidth correctly
VsCode has an internal function from auto-detecting indentation, while my config uses vim-sleuth with indent-blankline.nvim.
What are some alternatives?
indentLine - A vim plugin to display the indention levels with thin vertical lines
nvim-ts-rainbow - Rainbow parentheses for neovim using tree-sitter. Use https://sr.ht/~p00f/nvim-ts-rainbow instead
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
indent-guides.nvim
nvim-treesitter-refactor - Refactor module for nvim-treesitter
tree-sitter - An incremental parsing system for programming tools
nvim-lspconfig - Quickstart configs for Nvim LSP
goyo.vim - :tulip: Distraction-free writing in Vim
nvcode-color-schemes.vim - A bunch of generated colorschemes (treesitter supported)
impatient.nvim - Improve startup time for Neovim
nvim-tree.lua - A file explorer tree for neovim written in lua
dashboard-nvim - vim dashboard