kickstart.nvim
kickstart.nvim copied to clipboard
C++ header files not found
Describe the bug
C++ header files such as <iostream> not found.
To Reproduce Steps to reproduce the behavior:
- Install
clangdon an Ubuntu (or derivative) distribution. (Usingapt install clangd) - Uncomment
clangd = {}in theinit.lua. - Edit a
.cppfile and add some header files. - Error shown as follows:

Desktop (please complete the following information):
- OS: Pop!_OS
- Terminal: gnome-terminal
Neovim Version
- Output of running
:versionfrom inside of neovim:
NVIM v0.9.0-dev-635+gc19bd47c0
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by dipper@pop-os
Any luck so far?
I think you need compile_commands.json to fix that error.
Any ways to not having compile_commands.json but rather pass the include path to clangd argument from the .lua setup file?
Same issue here, any suggestions?
Problem
LSP info
Duplicate of #238