vim-c-cpp-modern
Extended Vim syntax highlighting for C and C++ (C++11/14/17/20/23) (by bfrg)
nvim-treesitter
Nvim Treesitter configurations and abstraction layer (by nvim-treesitter)
vim-c-cpp-modern | nvim-treesitter | |
---|---|---|
5 | 310 | |
584 | 11,595 | |
1.2% | 2.7% | |
5.3 | 9.8 | |
2 months ago | 4 days ago | |
Vim Script | Tree-sitter Query | |
- | 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.
vim-c-cpp-modern
Posts with mentions or reviews of vim-c-cpp-modern.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-10.
-
vim-cpp-modern Plugin Installation Trouble
mkdir pack mkdir pack/plugins mkdir pack/plugins/start cd ~/.vim/pack/plugins/start git clone --depth=1 https://github.com/bfrg/vim-cpp-modern
-
How to make C functions like printf or user made functions highlighted in Vim?
I personally just use vim-cpp-modern because it supports C and C++ and highlights most things well. I've also tweaked it to highlight identifiers in most situations (so far it's correct for everything except C++ templates).
- Syntax highlighting for C
-
C++ syntax highlighting for my classes
Iβve been using, and loving, this syntax highlighting plugin for C++, and one thing I love about it is that the names of STL types get highlighting. Thatβs real nice, but what I really want is similar syntax highlighting for my own classes, working across files.
-
Nice and colorful .vimrc file for python and C++?
As far as better syntax highlighting you can have a look at this for C++ and this for python.
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.
What are some alternatives?
When comparing vim-c-cpp-modern and nvim-treesitter you can also consider the following projects:
modern-cpp-tutorial - π Modern C++ Tutorial: C++11/14/17/20 On the Fly | https://changkun.de/modern-cpp/
vim-polyglot - A solid language pack for Vim.
modern-cpp-features - A cheatsheet of modern C++ language and library features.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
vim-rst - vim reStructuredText syntax and some more
semshi - π Semantic Highlighting for Python in Neovim