Skip to content

Can't seem to find information of how to configure clangd correctly #6629

Discussion options

You must be logged in to vote

My answer got burried in the fold so here it is more visible:

This is how you set clangd command-line options:

"lsp": {
	"clangd": {
		"binary": {
			"path_lookup": true,
			"path": "clangd",
			"arguments": ["--header-insertion=never"]
		}
	}
}

Replies: 7 comments 11 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Congyuwang
Comment options

Comment options

You must be logged in to vote
7 replies
@ArhumMK
Comment options

@Poldraunic
Comment options

@paulross80
Comment options

@ryukinix
Comment options

@alexlnkp
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by SomeoneToIgnore
Comment options

You must be logged in to vote
3 replies
@EDEADLINK
Comment options

@pgnickb
Comment options

@pgnickb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ C++ programming language support language An umbrella label for all programming languages syntax behaviors language server An umbrella label for all language servers