The Last Psion | Alex on Nostr: Is anyone using #NeoVim with #clangd for #retrodev with early-90s C libraries? I ...
Is anyone using #NeoVim with #clangd for #retrodev with early-90s C libraries? I can't make head nor tail of the documentation.
So far for my .clangd file I've got something like this:
CompileFlags:
Add:
"-I~/dosbox/sibo-c/SIBOSDK/include"
But I don't think this is actually doing the job of setting the path, not to mention ignoring all other (more modern) include paths. I also need to set C89 and maybe tell it that it needs treat the code as something vaguely DOS-like.
What's really galling is that this is very easy with VS Code and just bloody works -- one JSON file that it practically fills in for you and you're done.
#retrocomputing #clang #llvm
So far for my .clangd file I've got something like this:
CompileFlags:
Add:
"-I~/dosbox/sibo-c/SIBOSDK/include"
But I don't think this is actually doing the job of setting the path, not to mention ignoring all other (more modern) include paths. I also need to set C89 and maybe tell it that it needs treat the code as something vaguely DOS-like.
What's really galling is that this is very easy with VS Code and just bloody works -- one JSON file that it practically fills in for you and you're done.
#retrocomputing #clang #llvm