How can I get semantic highlighting working on clangd?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/neovim

Our great sponsors
  • talent.io - Download talent.io’s Tech Salary Report
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarLint - Clean code begins in your IDE with SonarLint
  • Scout APM - Truly a developer’s best friend
  • neovim

    Vim-fork focused on extensibility and usability

    Also, I don't know if this is something different, but when I was looking for a way to get #ifdefs to be grayed out, I found this pull request, which seems to be making some progress. Maybe this is what you're looking for?

  • nvim-lsp-clangd-highlight

    Neovim plugin for semantic highlighting in C++ based on Neovim's build-in LSP support. Mirror of https://gitlab.com/robert-oleynik/clangd-nvim/

    I'm aware that there are plugins for this, however the one I tried (adam-wolski/nvim-lsp-clangd-highlight) didn't work. Others likely won't work either, as I'm using clangd_extensions.nvim.

  • talent.io

    Download talent.io’s Tech Salary Report. Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform talent.io

  • nvim-treesitter

    Nvim Treesitter configurations and abstraction layer

    Yeah, and I'm saying treesitter already does that for me. Have you tried treesitter?

  • nvim-semantic-tokens

    I'm the a uthor of this PR. You need some configuration like with this plugin https://github.com/theHamsta/nvim-semantic-tokens or the

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts