-
All those vim.org scripts also have a github version https://github.com/vim-scripts/ifdef-highlighting which I tend to use with my plugin manager (although vim.org links also work, I use https://github.com/junegunn/vim-plug but there are others that work similarly, and vim has one built in.) If you do it like this, you don't have to think about how to install it, just add something like Plug 'vim-scripts/ifdef-highlighting' and you're done.
-
InfluxDB
InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
-
All those vim.org scripts also have a github version https://github.com/vim-scripts/ifdef-highlighting which I tend to use with my plugin manager (although vim.org links also work, I use https://github.com/junegunn/vim-plug but there are others that work similarly, and vim has one built in.) If you do it like this, you don't have to think about how to install it, just add something like Plug 'vim-scripts/ifdef-highlighting' and you're done.
-
vim-matchup
vim match-up: even better % :facepunch: navigate and highlight matching words :facepunch: modern matchit and matchparen. Supports both vim and neovim + tree-sitter.
Bonus tip, check out: https://github.com/andymass/vim-matchup then the #if(def)/#else/#endif can be jumped between using the normal mode '%' command. I think this is very helpful to find matching pairs, especially in unknown code with lots of nested preprocessor macros.
-
vim-lsp-cxx-highlight
Discontinued Vim plugin for C/C++/ObjC semantic highlighting using cquery, ccls, or clangd
I use coc.nvim with e.g. coc-clangd extension (with https://github.com/jackguo380/vim-lsp-cxx-highlight for extra highlighting, but that might not be necessary anymore with some recent update I think I read somewhere) which has a similar feature, but uses the compiler settings from a compile_commands.json or some configuration file to know which defines are which value, to do this kind of ifdef block highlighting.