 # Your snippets
 
-# C++ and JavaScript
-
-'.source.cpp,
+# C, C++ and JavaScript
+
+'.source.c,
+ .source.cpp,
  .source.js':
 
   # Conditional blocks

    'prefix': 'while'
    'body': 'while (${1:condition}) {\n\t$2\n}'

  # Error handling

  'try':

    'prefix': 'finally'
    'body': 'finally {\n\t$1\n}'

# C and C++

'.source.c,
 .source.cpp':

  'include guard':
    'prefix': 'once'
