-
Notifications
You must be signed in to change notification settings - Fork 1
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
coc-clangd doesnt start on .ino files #1
Comments
May be interference with other plugins? I've disabled all arduino related plugins like Also try the following
|
After running the snippet you provided .ino files seem to be acknowledged by clangd (even though highlighting was turned off for some reason), yet I got some errors from clangd:
These error messages apperared at the very top of my file. It also flagged arduino specific funtions like digitalWrite, aswell as consts like LED_BUILTIN as invalid. The default compiler for my system is g++, if that bares any relevance. EDIT: After manually removing those flags from compile_commands.json the other errors still persist |
also had the same issue (just clang not starting, not clang's errors), this snippet in my "languageserver":{
"arduino":{
"command":"clangd",
"rootPatterns":["compile_commands.json"],
"filetypes":["arduino"]
}
} but removing ( and maybe it will save some time to someone but you need to include |
Even after adding
to my init.vim and generating a valid compile_commands.json inside of the sketch folder coc-clangd doesnt seem to start. Heres my :CocInfo :
Am I missing something?
The text was updated successfully, but these errors were encountered: