Skip to main content

Questions tagged [clangd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

How to remove the snippet items from clangd in suggestion list of nvim-cmp?

I disable snippet support of clangd with following configuration. capabilities = { textDocument = { completion = { completionItem = { snippetSupport = false, ...
cpcopy's user avatar
  • 1
0 votes
0 answers
56 views

Question about clangd in cpp files

I encountered a question when I tried to config neovim with clangd for c&cpp programming on Windows 11. The softwares and platform used are list below: Windows 11 Neovim 0.10.0 llvm-mingw ...
znsword's user avatar
0 votes
0 answers
54 views

clangd No client with id 1

I am running Manjaro KDE and neovim version v0.9.5. I have a slightly modified version of this nvim config and I have downloaded the clangd language server. Everything was working fine and great, up ...
ChrisHusky's user avatar
0 votes
0 answers
21 views

Get Stuck When Opening a file with thousands of lines by LSP-enabled Vim on Windows MSYS2

I am trying to recreate the Vim environment on Windows MSYS2 with my Linux Vim settings. But I found that when the LSP (prabirshrestha/vim-lsp) is turned on, sometimes the file gets stuck when opening ...
aRedR's user avatar
  • 1
0 votes
1 answer
265 views

Can I jump to implementation in a C project with coc-clangd?

I use NeoVim with coc-clangd. I have a project in C and I use vendor library SPL for STM8S chips. SPL library is in parent directory out of my project. This is my compile_flags.txt: -xc -std=c99 -Wall ...
MarrekNožka's user avatar
1 vote
1 answer
309 views

How to enable Qt completion with clangd in Neovim?

I use nvim-cmp. I have installed the clangd with Mason, and configured it with `lsp-config.nvim as: local capabilities = require('cmp_nvim_lsp').default_capabilities() lspconfig.clangd.setup { ...
Vladyslav Rehan's user avatar
0 votes
0 answers
86 views

How do I get clangd to also recognise c++ includes?

I've installed clangd through mason, the lsp works when I open a cpp file. It finds includes from the C std library but when I include for instance it will just say 'fstream' file not found, same ...
TiesDO's user avatar
  • 1
1 vote
1 answer
272 views

Unable to install coc-clangd

When I use the command :CocInstall clangd to install coc-clangd, it will throw the following error: [Coc.nvim] Error on install coc-clangd: AggregateError Why do I get this error? OS: Archlinux ...
Sam Ma's user avatar
  • 113
0 votes
1 answer
1k views

Neovim: external C++ Library Header file parsing not working

I am using Neovim (LunarVim IDE layer), I want to work with 'openFrameworks' library. To not get linter warning on header file includes (look at example below), I am adding all possible header files ...
vishalpaudel's user avatar
3 votes
1 answer
7k views

Where to find debug logs for an LSP started with vim.lsp.start()?

Long time vim user, I am getting started with using LSPs in nvim. I want to use the clangd LSP to get all those powerful LSP goodies. I am seeing a bunch of spurious errors whenever I edit a file, so ...
Ari Sweedler's user avatar
1 vote
2 answers
2k views

How to add <bits/stdc++.h> header file in Clangd installed through Mason (Neovim lua)?

I want to add/expand the Clangd Language server, which I installed through Mason within Neovim, with the standard libraries that come with MinGW (I run windows 11). I'm trying to do CP, and for that I ...
cringeyburger's user avatar