-
Notifications
You must be signed in to change notification settings - Fork 487
clangd can’t find standard library headers #370
Copy link
Copy link
Closed
Labels
clangdClangd(lsp) related issuesClangd(lsp) related issueseducationalIssues that contain useful contentIssues that contain useful contentenvIssues caused by incorrect environment settings (terminal, package manager, etc.)Issues caused by incorrect environment settings (terminal, package manager, etc.)good-first-issueGood for newcomersGood for newcomerslspLSP related issuesLSP related issuesusageUser-specific issuesUser-specific issues
Metadata
Metadata
Assignees
Labels
clangdClangd(lsp) related issuesClangd(lsp) related issueseducationalIssues that contain useful contentIssues that contain useful contentenvIssues caused by incorrect environment settings (terminal, package manager, etc.)Issues caused by incorrect environment settings (terminal, package manager, etc.)good-first-issueGood for newcomersGood for newcomerslspLSP related issuesLSP related issuesusageUser-specific issuesUser-specific issues
OS
ubuntu 22 内核:5.15.0
neovim
checkhealth
23 - OK: Go:
go version go1.18.1 linux/amd6422 - OK: cargo:
cargo 1.65.0 (4bc8f24d3 2022-10-20)21 - WARNING: luarocks: not available
20 - WARNING: Ruby: not available
19 - WARNING: RubyGem: not available
18 - WARNING: Composer: not available
17 - WARNING: PHP: not available
16 - OK: npm:
6.14.815 - OK: node:
v14.9.014 - OK: python3:
Python 3.10.613 - OK: pip3:
pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)12 - OK: javac:
javac 18.0.2-ea11 - OK: java:
openjdk version "18.0.2-ea" 2022-07-1910 - WARNING: julia: not available
9 - OK: wget:
GNU Wget 1.21.2 在 linux-gnu 上编译。8 - OK: curl:
curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 ↳ brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib ↳ nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.137 - OK: gzip:
gzip 1.106 - OK: tar:
tar (GNU tar) 1.345 - WARNING: pwsh: not available
4 - OK: bash:
GNU bash,版本 5.1.16(1)-release (x86_64-pc-linux-gnu)3 - OK: sh:
Ok2 - OK: python3_host_prog:
Python 3.10.61 - OK: python3_host_prog pip:
pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)50 - OK: GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: 2022年12月18日 星期日
packersync
所有都是already up to date
其他
使用
安装后一切都保持默认
问题
1
c/cpp的头文件找不到,同时也没有自动补全

2
lsplog错误

同时打开时间久了后出现轻微的卡顿。
logfile
lsp.log
1 我想问下默认安装后还需不要单独配置某种语言(默认支持哪些?)
2 如何配置?
万分感谢!