Add snippets for C



Attempting to add some C specific code snippets (found here) and have been running into some problems, namely, I can’t get .c files to acknowledge the snippets. Other file types (ideally) wouldn’t, but they seem to get a some of the snippets sometimes. I tried to add a .js file similar to the others found on the GitHub repo for other languages, but ended up with some path undefined errors. Any ideas about what might be causing this or how to work around it?

Here’s a picture of my file structure, snippet file, and an attempt to use it.


Any help would really be appreciated.


I think the scope should be c_cpp since C and C++ files are treated similarly.