lspcontainers / lspcontainers.nvim

Neovim plugin for lspcontainers.
Apache License 2.0
313 stars 34 forks source link

Clangd compile_commands.json trouble? #96

Open JudsenHembree opened 1 year ago

JudsenHembree commented 1 year ago

Issues getting clangd to recognize header files

Hey,

Really cool repo you got here. However, I'm struggling to get rid of all lsp errors in a working project on centos7. I was wondering if it's a .json issue with the compile commands. My project isn't cmake, so I've generated them myself with a third party app called compiledb. Does the container automatically detect this file, or do I need to script a way to get that file inside of docker?

I'm referring to compile_commands.json.

Thanks and feel free to open this as an issue and I'll hack at it if you want.

P.S. Swapped to a non-work account. My bad.