-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clangd support: pass in compiler flags for header files #2
Comments
Considering compdb as alternative: Sarcasm/irony-mode#323 |
I think it's a good workaround for now, however the way of using compdb has changed (and not really much documented :)). You've to do something like: compdb -c compdb.complementers=headerdb -p . update # or pointing the dir for the compile_commands.json
compdb -c compdb.complementers=headerdb -p . list > compile_commands_full.json
mv compile_commands_full.json compile_commands.json The first command will generate an |
Having tested cquery with a compilation database in #208 I'm convinced that the clangd extension on |
# This is the 1st commit message: Add release scripts from GitGutter # The commit message #2 will be skipped:
Clangd supports a non-standard
meta
field ondidOpen
.LSP would have to extract the extra flags using per-project configuration:
https://github.com/Valloric/ycmd#ycm_extra_confpy-specification
The text was updated successfully, but these errors were encountered: