Search code examples
cclangsdlintellisensesyntax-highlighting

C language server on Zed for SDL


I'm trying to learn SDL in C and I want to use Zed as my text editor.

In VS code I managed to include the path of the library and get the SDL syntax supported.

Lately Zed has been my main text editor and I'd like to write on it further, but I can't find any way to get SDL syntax supported.

I went through all of Zed's settings multiple times and I can't find anything relevant.


Solution

  • I used bear -- make to generate a compile_commands.json file. Thanks @HolyBlackCat!