What is Nostr?
The Last Psion | Alex /
npub1e26…8kjm
2024-10-26 20:42:25

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
Author Public Key
npub1e26t0wmhsgtkszqcy0qe6q68tj6wxu453twevm7rlj30pax94y6qv68kjm