r/neovim•
szczaf23

Neovim can't find SDL.h

Need Help

Hello.
I'm trying to make a simple SDL app using Neovim on a M4 Macbook.
While the program compiles and runs correctly I can't get Neovim to find the library.
I know using a .clangd file works but it feels cheap and "Not the right way" to do it.
Im just compiling using clangd no Makefiles or Cmake.
How do you guys set up SDL on a Mac?

Posted Feb 15, 2026, 10:53 PM UTC

04
Loading comments…