nvim-treesitter
Nvim Treesitter configurations and abstraction layer (by nvim-treesitter)
semshi
🌈 Semantic Highlighting for Python in Neovim (by numirias)
nvim-treesitter | semshi | |
---|---|---|
310 | 9 | |
12,238 | 1,036 | |
1.5% | 0.2% | |
9.7 | 0.0 | |
6 days ago | almost 3 years ago | |
Tree-sitter Query | Python | |
Apache License 2.0 | - |
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-treesitter
Posts with mentions or reviews of nvim-treesitter.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-03-12.
-
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.
semshi
Posts with mentions or reviews of semshi.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-11.
-
Understanding highlighting for Python in Neovim
Try https://github.com/numirias/semshi Semantic Highlighting for Python in Neovim
-
Treesitter python issue?
Yes, I think treesitter highlight is yet limited and still a mess. I am still sitting at semshi, but look forward to switching to treesitter completely in the future.
-
I use Arch btw. (forgive my ugly c code)
I use neovim with my transparent kitty terminal. Kitty doesn't make the actual letters transparent so they are still easy to see, just the background of the terminal. Then ontop of that my syntax highlighting is really intense (https://github.com/numirias/semshi) and my background is pretty dark (lots of blacks and dark blues and other dark complementing colors that are easy on the eyes) so text is still easy to see while still looking quite nice IMO.
-
How to get colorcoding for variables, constants, keywords like "self"? (I use coc-pyright)
One of the best and easiest way is using plugin numirias/semshi.
-
Additional Syntax Highlighting for Python??
https://github.com/numirias/semshi gives pretty cool semantic highlighting.
-
Python Syntax Highlighting for vim
Vim's highlighting is more limited. Vim uses regex for syntax highlighting as opposed to using ASTs. You can try looking in the Neovim direction instead. Here's some Neovim-only plugin https://github.com/numirias/semshi for python specifically.
- Best Syntax Highlighter for Ruby?
-
Change Colors of semshi?
It's describe under the highlights title in README : https://github.com/numirias/semshi#highlights
-
Python Syntax Plugin?
semshi is quite good.
What are some alternatives?
When comparing nvim-treesitter and semshi you can also consider the following projects:
vim-polyglot - A solid language pack for Vim.
python-syntax - Python syntax highlighting for Vim
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
sphinx.nvim - Sphinx integrations for Neovim
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
neo-runner.nvim - run your current c/c++ or python buffer directly from neovim