Extension like rust-tools.nvim, but for clangd (C & C++)

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • rust-tools.nvim

    Discontinued Tools for better development in rust using neovim's builtin lsp

  • Hello. Just like rust-analyzer, clangd implements some extensions to LSP protocol, e. g. inlay hints. There's a great https://github.com/simrat39/rust-tools.nvim Lua plugin for this purpose for Rust. Unfortunately, I failed to find one for C & C++. Does such plugin even exist yet?

  • vim-ccls

    Vim plugin for the ccls language server

  • First I strip down ccls like this lua local cinit = function(client) require("mappings").nvim_lsp() local rc = client.resolved_capabilities rc.document_formatting = false rc.document_range_formatting = false rc.document_highlight = false rc.document_symbol = false rc.workspace_symbol = false rc.rename = false rc.hover = false rc.completion = false rc.code_action = false end require('lspconfig').ccls.setup{ on_init = cinit, handlers = { ["textDocument/publishDiagnostics"] = function(...) return nil end, ["textDocument/signatureHelp"] = function(...) return nil end, }, single_file_support = true, root_dir = Lsp.util.root_pattern("compile_commands.json", "compile_flags.txt", ".git"), } and then use vim-ccls for the AST extensions, config it with mappings.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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

  • Adding rust to LazyVim

    3 projects | /r/neovim | 26 Feb 2023
  • AstroNvim v2.9.0 now has out of the box debugger (nvim-dap + nvim-dap-ui) with automatic setup (mason.nvim and mason-nvim-dap.nvim)! (mac and *nix only for now)

    2 projects | /r/neovim | 8 Dec 2022
  • Neovide – a simple, no-nonsense, cross-platform GUI for Neovim

    17 projects | news.ycombinator.com | 31 Jan 2024
  • [Experimental] Auto find Rust executables for DAP | Linux

    1 project | /r/neovim | 20 Aug 2023
  • As someone new to neovim, should I even bother with LSP?

    3 projects | /r/neovim | 12 Jul 2023