nvim-treesitter
playground
nvim-treesitter | playground | |
---|---|---|
310 | 60 | |
12,238 | 780 | |
1.1% | - | |
9.7 | 0.0 | |
1 day ago | almost 2 years ago | |
Tree-sitter Query | Lua | |
Apache License 2.0 | 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-treesitter
-
Mastering Hot Reloading: Any Language, Any Editor
Then open the file in your favorite code editor, that is for me neovim btw, you might want to install a treesitter to provide some syntax highlighting although nice but not necessary, in vscode you can install a plugin for the syntax highlighting.
-
How to Setup Vim for Kotlin Development
Neovim could use the default regex based grammar that Vim uses for syntax highlighting. But I recommended installing treesitter. This uses a concrete syntax tree to provide more semantic meaning to tokens, allowing enriched (and faster) highlighting.
- Ask HN: Current best open-source or commercial automated LLM coding agent?
-
Lite 🚀 ApolloNvim Distro 2024
👉 Tree-sitter plugin for code highlighting.
-
Neovim for beginners
Treesitter is what makes your neovim colorful. It uses the LSP and colorscheme and colors your variables, keywords and other stuff. To understand how treesitter works and configure treesitter please read the docs. Here is my configuration for treesitter:
-
Simple Neovim config
nvim-treesitter is a plugin that has been around for 4 years now. A lot of people will say this is essential to your Neovim experience, and I do agree to some extend. It is incredibly useful... as a dependency for other plugins. It allows Neovim to gather more information about source code of the current file, and plugin authors can do really cool things that. For "normal users" like you and me there are some modules we can enable. One of them can be used to enhance the syntax highlight of many programming languages. That I think the feature nvim-treesitter is known for.
- Bro Install Neovim On Windows And Setup Neovim Without Neovim Package Manager 🙀
-
Leaving Neovim for Zed
I wouldn't really count those. Every editor with treesitter support will have those, it's for treesitter: https://github.com/nvim-treesitter/nvim-treesitter/blob/mast...
-
Customizing Your Lazyvim Setup for Personal Preferences
nvim-treesitter/nvim-treesitter (to provide a simple and easy way to use the interface for tree-sitter in Neovim and to provide some basic functionality such as highlighting based on it)
-
Ultimate Neovim Setup Guide: lazy.nvim Plugin Manager
nvim-treesitter/nvim-treesitter: Nvim Treesitter configurations and abstraction layer.
playground
-
Unraveling Tree-Sitter Queries: Your Guide to Code Analysis Magic
Tree-Sitter Playground
-
Customizing Your Lazyvim Setup for Personal Preferences
nvim-treesitter/playground (View treesitter information directly in Neovim!)
-
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.
What are some alternatives?
vim-polyglot - A solid language pack for Vim.
nvcode-color-schemes.vim - A bunch of generated colorschemes (treesitter supported)
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
tree-sitter-scala - Scala grammar for tree-sitter
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
nvim-treehopper - Region selection with hints on the AST nodes of a document powered by treesitter